Skip to content

Commit

Permalink
Editor: Fixed mrdoob#10601
Browse files Browse the repository at this point in the history
  • Loading branch information
Mugen87 committed Apr 6, 2017
1 parent 902fce3 commit a74cdd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion editor/js/Viewport.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 );

Expand Down

0 comments on commit a74cdd1

Please sign in to comment.