mirror of
https://github.com/overte-org/overte.git
synced 2025-04-16 21:02:17 +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() {
|
||||
print('START FAR TRIGGER ON CLOSE BUTTON!!!')
|
||||
Messages.sendMessage('Hifi-Light-Modifier-Cleanup', 'callCleanup')
|
||||
}
|
||||
|
||||
|
|
|
@ -583,7 +583,6 @@ function handleCleanupMessages(channel, message, sender) {
|
|||
return;
|
||||
}
|
||||
if (message === 'callCleanup') {
|
||||
print('GOT CLEANUP CALL!!!');
|
||||
cleanup(true);
|
||||
}
|
||||
}
|
||||
|
@ -615,7 +614,6 @@ function cleanup(fromMessage) {
|
|||
selectionManager.clearSelections();
|
||||
Script.update.disconnect(rotateCloseButtons);
|
||||
|
||||
print('DELETE LIGHT MODEL::: ' + block);
|
||||
Entities.deleteEntity(block);
|
||||
currentLight = null;
|
||||
|
||||
|
|
Loading…
Reference in a new issue