mirror of
https://github.com/overte-org/overte.git
synced 2025-04-17 08:56:36 +02:00
continue grabbing through overlays
This commit is contained in:
parent
f5446cc4e4
commit
b9754c8564
1 changed files with 5 additions and 1 deletions
|
@ -361,11 +361,15 @@ function MyController(hand) {
|
|||
|
||||
var _this = this;
|
||||
|
||||
this.ignoreInput = function () {
|
||||
return (_this.state <= STATE_HOLD_SEARCHING) && isIn2DMode();
|
||||
};
|
||||
|
||||
this.update = function() {
|
||||
|
||||
this.updateSmoothedTrigger();
|
||||
|
||||
if (isIn2DMode()) {
|
||||
if (_this.ignoreInput()) {
|
||||
_this.turnOffVisualizations();
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue