Bläddra i källkod

Editor: Fixed selectionBox.

Mr.doob 10 år sedan
förälder
incheckning
79a9676820
1 ändrade filer med 2 tillägg och 0 borttagningar
  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();