Przeglądaj źródła

GLTFLoader: Clean up

Takahiro 7 lat temu
rodzic
commit
eaa980cf6d
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      examples/js/loaders/GLTFLoader.js

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

@@ -1279,7 +1279,7 @@ THREE.GLTFLoader = ( function () {
 
 		}
 
-		return isObjectEqual( a.attributes || {}, b.attributes || {} );
+		return isObjectEqual( a.attributes, b.attributes );
 
 	}