mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-06 07:23:08 +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) {
|
function mouseReleaseEvent(event) {
|
||||||
if (placingEntityID) {
|
if (placingEntityID) {
|
||||||
|
if (isActive) {
|
||||||
selectionManager.setSelections([placingEntityID]);
|
selectionManager.setSelections([placingEntityID]);
|
||||||
|
}
|
||||||
placingEntityID = null;
|
placingEntityID = null;
|
||||||
}
|
}
|
||||||
if (isActive && selectionManager.hasSelection()) {
|
if (isActive && selectionManager.hasSelection()) {
|
||||||
|
|
Loading…
Reference in a new issue