Ver Fonte

Accept node.skin=0 in GLTF2Loader

Takahiro há 8 anos atrás
pai
commit
c04eb0d7f3
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      examples/js/loaders/GLTF2Loader.js

+ 1 - 1
examples/js/loaders/GLTF2Loader.js

@@ -1999,7 +1999,7 @@ THREE.GLTF2Loader = ( function () {
 
 								var skinEntry;
 
-								if ( node.skin ) {
+								if ( node.skin !== undefined ) {
 
 									skinEntry = dependencies.skins[ node.skin ];