浏览代码

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();