We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 277c636 commit 3a0e2b8Copy full SHA for 3a0e2b8
examples/js/loaders/GLTFLoader.js
@@ -2890,8 +2890,6 @@ THREE.GLTFLoader = ( function () {
2890
2891
};
2892
2893
- var nextNodeIndex = 1;
2894
-
2895
/**
2896
* Specification: https://github.com/KhronosGroup/glTF/tree/master/specification/2.0#nodes-and-hierarchy
2897
* @param {number} nodeIndex
@@ -2981,10 +2979,6 @@ THREE.GLTFLoader = ( function () {
2981
2979
2982
2980
node.name = THREE.PropertyBinding.sanitizeNodeName( nodeDef.name );
2983
2984
- } else {
2985
2986
- node.name = 'gltfNode' + ( nextNodeIndex++ );
2987
2988
}
2989
2990
if ( nodeDef.extras ) node.userData = nodeDef.extras;
0 commit comments