Explorar el Código

Merge pull request #17733 from Tirzono/dev

Fix loading glTF ZIP files in the editor
Mr.doob hace 6 años
padre
commit
406a24237d
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      editor/js/Loader.js

+ 1 - 1
editor/js/Loader.js

@@ -605,7 +605,7 @@ var Loader = function ( editor ) {
 						var scene = result.scene;
 
 						editor.addAnimation( scene, result.animations );
-						editor.execute( new AddObjectCommand( scene ) );
+						editor.execute( new AddObjectCommand( editor, scene ) );
 
 					} );