Fix entity not being highlighted in list when created

This commit is contained in:
David Rowe 2016-04-15 17:18:04 +12:00
parent f9a442264e
commit c7f5b356bb

View file

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