Set nonPickable flag for range mesh in ViewportHost
This commit is contained in:
@@ -520,6 +520,8 @@ export class ViewportHost {
|
|||||||
})
|
})
|
||||||
);
|
);
|
||||||
|
|
||||||
|
range.userData.nonPickable = true;
|
||||||
|
|
||||||
for (const mesh of [core, range]) {
|
for (const mesh of [core, range]) {
|
||||||
this.tagEntityMesh(mesh, entityId, "pointLight", group);
|
this.tagEntityMesh(mesh, entityId, "pointLight", group);
|
||||||
}
|
}
|
||||||
@@ -527,7 +529,8 @@ export class ViewportHost {
|
|||||||
return {
|
return {
|
||||||
group,
|
group,
|
||||||
meshes: [core, range]
|
meshes: [core, range]
|
||||||
}; }
|
};
|
||||||
|
}
|
||||||
|
|
||||||
private createSpotLightGizmoRenderObjects(
|
private createSpotLightGizmoRenderObjects(
|
||||||
entityId: string,
|
entityId: string,
|
||||||
|
|||||||
Reference in New Issue
Block a user