mirror of
https://github.com/lubosz/overte.git
synced 2025-04-24 09:23:17 +02:00
Destroy overlays when trigger released
This commit is contained in:
parent
974dff36b0
commit
a37f0137e7
1 changed files with 5 additions and 0 deletions
|
@ -3774,6 +3774,11 @@ function MyController(hand) {
|
|||
this.release = function() {
|
||||
this.turnOffVisualizations();
|
||||
|
||||
entitiesWithHoverOverlays.forEach(function (element) {
|
||||
HoverOverlay.destroyHoverOverlay(element);
|
||||
});
|
||||
entitiesWithHoverOverlays = [];
|
||||
|
||||
if (this.grabbedThingID !== null) {
|
||||
|
||||
Messages.sendMessage('Hifi-Teleport-Ignore-Remove', this.grabbedThingID);
|
||||
|
|
Loading…
Reference in a new issue