소스 검색

Editor: Fixed EditorControls being off after clearing.

Mr.doob 10 년 전
부모
커밋
97d2727153
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      editor/js/Viewport.js

+ 1 - 0
editor/js/Viewport.js

@@ -227,6 +227,7 @@ var Viewport = function ( editor ) {
 
 	signals.editorCleared.add( function () {
 
+		controls.center.set( 0, 0, 0 );
 		render();
 
 	} );