mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
No haptic pulse in edit modes when hand enters near-grab distance
This commit is contained in:
parent
83a78aa407
commit
cadd4685ee
1 changed files with 1 additions and 1 deletions
|
@ -1786,7 +1786,7 @@ function MyController(hand) {
|
|||
var nonTabletEntities = grabbableEntities.filter(function(entityID) {
|
||||
return entityID != HMD.tabletID && entityID != HMD.homeButtonID;
|
||||
});
|
||||
if (nonTabletEntities.length > 0) {
|
||||
if (nonTabletEntities.length > 0 && !isInEditMode() && !isInVREditMode()) {
|
||||
Controller.triggerHapticPulse(1, 20, this.hand);
|
||||
}
|
||||
this.grabPointIntersectsEntity = true;
|
||||
|
|
Loading…
Reference in a new issue