Browse Source

Merge pull request #20744 from Mugen87/dev

Editor: Clean up.
Michael Herzog 4 years ago
parent
commit
23d4ad8e73
1 changed files with 1 additions and 3 deletions
  1. 1 3
      editor/js/Menubar.File.js

+ 1 - 3
editor/js/Menubar.File.js

@@ -483,9 +483,7 @@ function MenubarFile( editor ) {
 
 
 		scene.traverse( function ( object ) {
 		scene.traverse( function ( object ) {
 
 
-			var objectAnimations = editor.animations[ object.uuid ];
-
-			if ( objectAnimations !== undefined ) animations.push( ... objectAnimations );
+			animations.push( ... object.animations );
 
 
 		} );
 		} );