cleanup cleanup

This commit is contained in:
James B. Pollack 2015-12-28 15:12:29 -08:00
parent f0a12e0251
commit 5786789a66

View file

@ -833,17 +833,17 @@ function cleanup(fromMessage) {
Entities.deleteEntity(panel);
Entities.deleteEntity(visiblePanel);
var data = {
action: 'remove',
id: visiblePanel
};
Messages.sendMessage('Hifi-Hand-RayPick-Blacklist', JSON.stringify(data))
selectionManager.clearSelections();
if (ROTATE_CLOSE_BUTTON === true) {
Script.update.disconnect(rotateCloseButtons);
}
if (hasParent === false) {
Entities.deleteEntity(block);
}
oldParent = null;
hasParent = false;
currentLight = null;