ソースを参照

Editor: Fixed selectionBox.

Mr.doob 10 年 前
コミット
79a9676820
1 ファイル変更2 行追加0 行削除
  1. 2 0
      editor/js/Viewport.js

+ 2 - 0
editor/js/Viewport.js

@@ -43,6 +43,8 @@ var Viewport = function ( editor ) {
 
 		if ( object !== undefined ) {
 
+			selectionBox.update( object );
+
 			if ( editor.helpers[ object.id ] !== undefined ) {
 
 				editor.helpers[ object.id ].update();