diff --git a/editor/js/Viewport.js b/editor/js/Viewport.js index 22ed84867c0081..15b75322dded52 100644 --- a/editor/js/Viewport.js +++ b/editor/js/Viewport.js @@ -379,7 +379,7 @@ var Viewport = function ( editor ) { selectionBox.visible = false; transformControls.detach(); - if ( object !== null && object !== scene ) { + if ( object !== null && object !== scene && object !== camera ) { box.setFromObject( object );