mirror of
https://github.com/AleziaKurdis/overte.git
synced 2025-08-23 12:33:42 +02:00
Merge pull request #3896 from huffman/fix-entity-selection
Fix entity tool selection when inactive
This commit is contained in:
commit
a7a7ad775e
1 changed files with 4 additions and 0 deletions
|
@ -566,6 +566,10 @@ function mouseReleaseEvent(event) {
|
|||
}
|
||||
|
||||
function mouseClickEvent(event) {
|
||||
if (!isActive) {
|
||||
return;
|
||||
}
|
||||
|
||||
var result = findClickedEntity(event);
|
||||
if (result === null) {
|
||||
if (!event.isShifted) {
|
||||
|
|
Loading…
Reference in a new issue