Browse Source

Editor: Fixed selectionBox.

Mr.doob 10 năm trước cách đây
mục cha
commit
79a9676820
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  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();