This commit is contained in:
James B. Pollack 2015-12-18 16:35:06 -08:00
parent 0e530900d4
commit e405311cc8
2 changed files with 0 additions and 3 deletions

View file

@ -27,7 +27,6 @@
},
startFarTrigger: function() {
print('START FAR TRIGGER ON CLOSE BUTTON!!!')
Messages.sendMessage('Hifi-Light-Modifier-Cleanup', 'callCleanup')
}

View file

@ -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;