mirror of
https://github.com/overte-org/overte.git
synced 2025-04-19 12:23:24 +02:00
Update entity editing to force SPACE_LOCAL for single-selection
This commit is contained in:
parent
0d77063e1e
commit
52dacaab02
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue