mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 12:04:18 +02:00
Fix bug with entity selection shadow
This commit is contained in:
parent
cce1e23eec
commit
bdfdeecc46
1 changed files with 3 additions and 10 deletions
|
@ -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,
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue