mirror of
https://github.com/overte-org/overte.git
synced 2025-08-10 04:53:25 +02:00
Remove unnecessary overlay property updates
This commit is contained in:
parent
a8eb49a822
commit
9d9a7ead5b
1 changed files with 1 additions and 3 deletions
|
@ -348,6 +348,7 @@ SelectionDisplay = (function () {
|
||||||
visible: false,
|
visible: false,
|
||||||
isFacingAvatar: true,
|
isFacingAvatar: true,
|
||||||
drawInFront: true,
|
drawInFront: true,
|
||||||
|
ignoreRayIntersection: true,
|
||||||
dimensions: { x: 0, y: 0 },
|
dimensions: { x: 0, y: 0 },
|
||||||
lineHeight: 0.0,
|
lineHeight: 0.0,
|
||||||
topMargin: 0,
|
topMargin: 0,
|
||||||
|
@ -1638,7 +1639,6 @@ SelectionDisplay = (function () {
|
||||||
|
|
||||||
Overlays.editOverlay(rotationDegreesDisplay, {
|
Overlays.editOverlay(rotationDegreesDisplay, {
|
||||||
visible: true,
|
visible: true,
|
||||||
ignoreRayIntersection: true,
|
|
||||||
});
|
});
|
||||||
|
|
||||||
updateRotationDegreesOverlay(0, yawHandleRotation, yawCenter);
|
updateRotationDegreesOverlay(0, yawHandleRotation, yawCenter);
|
||||||
|
@ -1776,7 +1776,6 @@ SelectionDisplay = (function () {
|
||||||
|
|
||||||
Overlays.editOverlay(rotationDegreesDisplay, {
|
Overlays.editOverlay(rotationDegreesDisplay, {
|
||||||
visible: true,
|
visible: true,
|
||||||
ignoreRayIntersection: true,
|
|
||||||
});
|
});
|
||||||
|
|
||||||
updateRotationDegreesOverlay(0, pitchHandleRotation, pitchCenter);
|
updateRotationDegreesOverlay(0, pitchHandleRotation, pitchCenter);
|
||||||
|
@ -1914,7 +1913,6 @@ SelectionDisplay = (function () {
|
||||||
|
|
||||||
Overlays.editOverlay(rotationDegreesDisplay, {
|
Overlays.editOverlay(rotationDegreesDisplay, {
|
||||||
visible: true,
|
visible: true,
|
||||||
ignoreRayIntersection: true,
|
|
||||||
});
|
});
|
||||||
|
|
||||||
updateRotationDegreesOverlay(0, rollHandleRotation, rollCenter);
|
updateRotationDegreesOverlay(0, rollHandleRotation, rollCenter);
|
||||||
|
|
Loading…
Reference in a new issue