Fix bug with entity selection shadow

This commit is contained in:
Ryan Huffman 2014-10-28 13:45:31 -07:00
parent cce1e23eec
commit bdfdeecc46

View file

@ -894,16 +894,9 @@ SelectionDisplay = (function () {
translateHandlesVisible = false;
}
var dimensions, rotation, position;
if (spaceMode == SPACE_LOCAL) {
rotation = SelectionManager.localRotation;
dimensions = SelectionManager.localDimensions;
position = SelectionManager.localPosition;
} else {
rotation = SelectionManager.worldRotation;
dimensions = SelectionManager.worldDimensions;
position = SelectionManager.worldPosition;
}
var rotation = SelectionManager.worldRotation;
var dimensions = SelectionManager.worldDimensions;
var position = SelectionManager.worldPosition;
Overlays.editOverlay(baseOfEntityProjectionOverlay,
{