Explorar el Código

Fix matrix decompose

Garrett Johnson hace 6 años
padre
commit
790b308fb5
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      examples/js/loaders/LDrawLoader.js

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

@@ -558,9 +558,9 @@ THREE.LDrawLoader = ( function () {
 						if ( parentParseScope.groupObject ) {
 
 							objGroup.name = parseScope.fileName;
-							objGroup.matrix.decompose( objGroup.position, objGroup.quaternion, objGroup.scale );
 							objGroup.userData.category = parseScope.category;
 							objGroup.userData.keywords = parseScope.keywords;
+							parseScope.matrix.decompose( objGroup.position, objGroup.quaternion, objGroup.scale );
 
 							parentParseScope.groupObject.add( objGroup );