Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GltfLoaderPlugin : Add a Parameter to allow Gltf Nodes without name to be created #792

Open
K01603779 opened this issue Dec 22, 2021 · 0 comments

Comments

@K01603779
Copy link

Currently in the GLTFLoaderPlugin a node in a Gltf-Model that doesn't have a name is not created and added to the scene
https://github.com/xeokit/xeokit-sdk/blob/master/src/plugins/GLTFLoaderPlugin/GLTFLoaderPlugin.js#L348 :

if (!name) {
   return true; // Continue descending this node subtree
}

Would it be possible to add an optional parameter, that would allow one to create these nodes to have them in created e.g., with an sequential name, since would sometimes be needed to have a correct scene tree of the model displayed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant