remove pointing at system overlay and overlay at point checks

This commit is contained in:
David Back 2018-06-12 17:55:04 -07:00
parent ffb9a47be0
commit cde111d601

View file

@ -667,9 +667,6 @@ SelectionDisplay = (function() {
activeHand = (activeHand === Controller.Standard.RightHand) ? activeHand = (activeHand === Controller.Standard.RightHand) ?
Controller.Standard.LeftHand : Controller.Standard.RightHand; Controller.Standard.LeftHand : Controller.Standard.RightHand;
} }
if (Reticle.pointingAtSystemOverlay || Overlays.getOverlayAtPoint(Reticle.position)) {
return;
}
that.mousePressEvent({}); that.mousePressEvent({});
} else if (that.triggered && (value < that.TRIGGER_OFF_VALUE)) { } else if (that.triggered && (value < that.TRIGGER_OFF_VALUE)) {
that.triggered = false; that.triggered = false;