moved below a check that returns.

This commit is contained in:
Mike Moody 2017-07-24 15:06:45 -07:00
parent a4585b9400
commit 7de164f1ab

View file

@ -4064,7 +4064,6 @@ SelectionDisplay = (function() {
// if another mouse button than left is pressed ignore it
return false;
}
entityIconOverlayManager.setIconsSelectable(selectionManager.selections,true);
var somethingClicked = false;
var pickRay = generalComputePickRay(event.x, event.y);
@ -4075,6 +4074,8 @@ SelectionDisplay = (function() {
return false;
}
entityIconOverlayManager.setIconsSelectable(selectionManager.selections,true);
// before we do a ray test for grabbers, disable the ray intersection for our selection box
Overlays.editOverlay(selectionBox, {
ignoreRayIntersection: true