fix intersect filter to use absence of pillar rather than presence of widget
This commit is contained in:
parent
00849cc3c1
commit
208ab2505d
1 changed files with 1 additions and 1 deletions
|
|
@ -346,7 +346,7 @@
|
|||
.append(SPACE.internals().platform)
|
||||
.appendAll(activeSupports())
|
||||
;
|
||||
let i2 = ray.intersectObjects(targets, false).filter(t => t.object.widget);
|
||||
let i2 = ray.intersectObjects(targets, false).filter(t => !t.object.pillar);
|
||||
if (i2 && i2.length > 0) {
|
||||
// prevent false matches close to origin of ray
|
||||
i2 = i2.filter(i => i.distance > 0.1);
|
||||
|
|
|
|||
Loading…
Reference in a new issue