mirror of
https://github.com/overte-org/overte.git
synced 2025-08-13 07:28:09 +02:00
Fix entity not being highlighted in list when created
This commit is contained in:
parent
f9a442264e
commit
c7f5b356bb
1 changed files with 4 additions and 0 deletions
|
@ -404,6 +404,10 @@ var toolBar = (function() {
|
|||
Window.alert("Can't create " + properties.type + ": " + properties.type + " would be out of bounds.");
|
||||
}
|
||||
|
||||
selectionManager.clearSelections();
|
||||
entityListTool.sendUpdate();
|
||||
selectionManager.setSelections([entityID]);
|
||||
|
||||
return entityID;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue