소스 검색

Editor: Clean up.

Mugen87 4 년 전
부모
커밋
a54330935a
1개의 변경된 파일1개의 추가작업 그리고 3개의 파일을 삭제
  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 ) {
 
-			var objectAnimations = editor.animations[ object.uuid ];
-
-			if ( objectAnimations !== undefined ) animations.push( ... objectAnimations );
+			animations.push( ... object.animations );
 
 		} );