mirror of
https://github.com/overte-org/overte.git
synced 2025-08-05 17:53:49 +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;
|
translateHandlesVisible = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
var dimensions, rotation, position;
|
var rotation = SelectionManager.worldRotation;
|
||||||
if (spaceMode == SPACE_LOCAL) {
|
var dimensions = SelectionManager.worldDimensions;
|
||||||
rotation = SelectionManager.localRotation;
|
var position = SelectionManager.worldPosition;
|
||||||
dimensions = SelectionManager.localDimensions;
|
|
||||||
position = SelectionManager.localPosition;
|
|
||||||
} else {
|
|
||||||
rotation = SelectionManager.worldRotation;
|
|
||||||
dimensions = SelectionManager.worldDimensions;
|
|
||||||
position = SelectionManager.worldPosition;
|
|
||||||
}
|
|
||||||
|
|
||||||
Overlays.editOverlay(baseOfEntityProjectionOverlay,
|
Overlays.editOverlay(baseOfEntityProjectionOverlay,
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue