https://bugreports.qt.io/browse/QTBUG-56305
2016-09-30 16:47 GMT+02:00 Sean Harmer :
> Hi,
>
> please do open a JIRA. However, it is more natural to share the Geometry
> rather than the GeometryRenderer component itself.
>
> Cheers,
>
> Sean
>
> On 30/09/2016 15:18, Xavier Bigand wrote:
>
>> I fo
Hi,
please do open a JIRA. However, it is more natural to share the Geometry
rather than the GeometryRenderer component itself.
Cheers,
Sean
On 30/09/2016 15:18, Xavier Bigand wrote:
I found a workaround :
QGeometryRenderer*clonedGeometryRenderer=newQGeometryRenderer();
QGeometry*clonedMe
I found a workaround :
QGeometryRenderer* clonedGeometryRenderer = new
QGeometryRenderer();
QGeometry* clonedMeshGeometry = new
QGeometry(clonedGeometryRenderer);
foreach (QAttribute* attribute,
geometryRenderer->geometry()->
I took a look to the addComponent implementation and it seems normal that
my code doesn't work because a component is intended to be attached once.
So I don't understand the meaning of the shareable flag.
I'll try to share the geometry instead.
2016-09-30 15:20 GMT+02:00 Xavier Bigand :
> I am t
I am trying to share my QGeometryRenderer between many Entities, but the
addComponent doesn't have any effect.
When I load our models from files, I save the root entity node in a map,
and after I clone the node tree when a previously model is in the map.
I have no issue with the material component