History

Fix bug with entity selection shadow

Ryan Huffman committed 12 years ago

Commit bdfdeec1 parent cce1e231 file · +3 −10Browse files

Unified · Split

examples/libraries/entitySelectionTool.js+3−10
@@ -894,16 +894,9 @@ SelectionDisplay = (function () { · 893 unmodified lines
894 translateHandlesVisible = false;894 translateHandlesVisible = false;
895 }895 }
896 896
897 var dimensions, rotation, position;897 var rotation = SelectionManager.worldRotation;
898 if (spaceMode == SPACE_LOCAL) {898 var dimensions = SelectionManager.worldDimensions;
899 rotation = SelectionManager.localRotation;899 var position = SelectionManager.worldPosition;
900 dimensions = SelectionManager.localDimensions;
901 position = SelectionManager.localPosition;
902 } else {
903 rotation = SelectionManager.worldRotation;
904 dimensions = SelectionManager.worldDimensions;
905 position = SelectionManager.worldPosition;
906 }
907 900
908 Overlays.editOverlay(baseOfEntityProjectionOverlay, 901 Overlays.editOverlay(baseOfEntityProjectionOverlay,
909 { 902 {