mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-07-23 04:15:55 +02:00
Merge pull request #6312 from sethalves/dont-grab-zones
don't attempt to grab particles or zones
This commit is contained in:
commit
067a058799
1 changed files with 8 additions and 0 deletions
|
@ -452,6 +452,14 @@ function MyController(hand) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (propsForCandidate.type == 'ParticleEffect') {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (propsForCandidate.type == 'Zone') {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
if (propsForCandidate.locked && !grabbableDataForCandidate.wantsTrigger) {
|
if (propsForCandidate.locked && !grabbableDataForCandidate.wantsTrigger) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue