Browse Source

Editor: Fixed selectionBox.

Mr.doob 10 years ago
parent
commit
79a9676820
1 changed files with 2 additions and 0 deletions
  1. 2 0
      editor/js/Viewport.js

+ 2 - 0
editor/js/Viewport.js

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