mirror of
https://github.com/overte-org/overte.git
synced 2025-04-29 23:02:40 +02:00
Don't grab entity behind entity just created and grip-click-deleted
This commit is contained in:
parent
8ca97d91c5
commit
e94d2034c7
1 changed files with 1 additions and 1 deletions
|
@ -1220,7 +1220,7 @@
|
|||
|
||||
wasTriggerClicked = isTriggerClicked;
|
||||
wasGripClicked = isGripClicked;
|
||||
isAutoGrab = isAutoGrab && isTriggerClicked;
|
||||
isAutoGrab = isAutoGrab && isTriggerClicked && !isGripClicked;
|
||||
|
||||
if (DEBUG && editorState !== previousState) {
|
||||
debug(side, EDITOR_STATE_STRINGS[editorState]);
|
||||
|
|
Loading…
Reference in a new issue