mirror of
https://github.com/lubosz/overte.git
synced 2025-04-23 09:25:31 +02:00
Merge pull request #4277 from huffman/fix-select-box
Update editEntities to not select new entity when edit tools are off
This commit is contained in:
commit
59b2c38eb1
1 changed files with 3 additions and 1 deletions
|
@ -534,7 +534,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