vsgXchange icon indicating copy to clipboard operation
vsgXchange copied to clipboard

Fix gltf-loader sets node name to its child mesh and loses mesh name

Open ArepMM opened this issue 2 months ago • 4 comments

When gltf node has no transform and the only one child mesh, currently gltf-loader tries to simplify graph and use mesh without this node. But both node and mesh may have names, then name of mesh will be lost because it will be rewrite to node name.

I add check for both names to create vsg::Group for node anyway in this case.

ArepMM avatar Oct 24 '25 23:10 ArepMM