mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-09 05:37:26 +02:00
Fix entity tool selection when inactive
This commit is contained in:
parent
d08337326c
commit
74acf9513b
1 changed files with 4 additions and 0 deletions
|
@ -566,6 +566,10 @@ function mouseReleaseEvent(event) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function mouseClickEvent(event) {
|
function mouseClickEvent(event) {
|
||||||
|
if (!isActive) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
var result = findClickedEntity(event);
|
var result = findClickedEntity(event);
|
||||||
if (result === null) {
|
if (result === null) {
|
||||||
if (!event.isShifted) {
|
if (!event.isShifted) {
|
||||||
|
|
Loading…
Reference in a new issue