mirror of
https://github.com/overte-org/overte.git
synced 2025-08-10 20:33:09 +02:00
cleanup cleanup
This commit is contained in:
parent
f0a12e0251
commit
5786789a66
1 changed files with 10 additions and 10 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue