mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 04:24:07 +02:00
Merge pull request #11761 from ctrlaltdavid/21593
Don't move or rotate entities if Alt or Meta keys are pressed
This commit is contained in:
commit
ce7d0c324b
1 changed files with 4 additions and 0 deletions
|
@ -315,6 +315,10 @@ Grabber.prototype.pressEvent = function(event) {
|
|||
return;
|
||||
}
|
||||
|
||||
if (event.isAlt || event.isMeta) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (Overlays.getOverlayAtPoint(Reticle.position) > 0) {
|
||||
// the mouse is pointing at an overlay; don't look for entities underneath the overlay.
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue