mirror of
https://github.com/overte-org/overte.git
synced 2025-08-06 23:09:52 +02:00
cleanup
This commit is contained in:
parent
0e530900d4
commit
e405311cc8
2 changed files with 0 additions and 3 deletions
|
@ -27,7 +27,6 @@
|
||||||
|
|
||||||
},
|
},
|
||||||
startFarTrigger: function() {
|
startFarTrigger: function() {
|
||||||
print('START FAR TRIGGER ON CLOSE BUTTON!!!')
|
|
||||||
Messages.sendMessage('Hifi-Light-Modifier-Cleanup', 'callCleanup')
|
Messages.sendMessage('Hifi-Light-Modifier-Cleanup', 'callCleanup')
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -583,7 +583,6 @@ function handleCleanupMessages(channel, message, sender) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (message === 'callCleanup') {
|
if (message === 'callCleanup') {
|
||||||
print('GOT CLEANUP CALL!!!');
|
|
||||||
cleanup(true);
|
cleanup(true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -615,7 +614,6 @@ function cleanup(fromMessage) {
|
||||||
selectionManager.clearSelections();
|
selectionManager.clearSelections();
|
||||||
Script.update.disconnect(rotateCloseButtons);
|
Script.update.disconnect(rotateCloseButtons);
|
||||||
|
|
||||||
print('DELETE LIGHT MODEL::: ' + block);
|
|
||||||
Entities.deleteEntity(block);
|
Entities.deleteEntity(block);
|
||||||
currentLight = null;
|
currentLight = null;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue