mirror of
https://github.com/lubosz/overte.git
synced 2025-04-23 13:33:38 +02:00
Update editEntities to not select new entity when edit tools are off
This commit is contained in:
parent
fa5eebd93e
commit
51ce8c7100
1 changed files with 3 additions and 1 deletions
|
@ -533,7 +533,9 @@ function highlightEntityUnderCursor(position, accurateRay) {
|
|||
|
||||
function mouseReleaseEvent(event) {
|
||||
if (placingEntityID) {
|
||||
selectionManager.setSelections([placingEntityID]);
|
||||
if (isActive) {
|
||||
selectionManager.setSelections([placingEntityID]);
|
||||
}
|
||||
placingEntityID = null;
|
||||
}
|
||||
if (isActive && selectionManager.hasSelection()) {
|
||||
|
|
Loading…
Reference in a new issue