Update entity editing to force SPACE_LOCAL for single-selection

This commit is contained in:
Ryan Huffman 2014-10-22 10:36:44 -07:00
parent 0d77063e1e
commit 52dacaab02

View file

@ -78,6 +78,8 @@ SelectionManager = (function() {
that.worldDimensions = null;
that.worldPosition = null;
} else if (that.selections.length == 1) {
SelectionDisplay.setSpaceMode(SPACE_LOCAL);
var properties = Entities.getEntityProperties(that.selections[0]);
that.localDimensions = properties.dimensions;
that.localPosition = properties.position;