Set nonPickable flag for range mesh in ViewportHost

This commit is contained in:
2026-04-01 04:41:02 +02:00
parent 8306042015
commit d38ea6c755

View File

@@ -520,6 +520,8 @@ export class ViewportHost {
})
);
range.userData.nonPickable = true;
for (const mesh of [core, range]) {
this.tagEntityMesh(mesh, entityId, "pointLight", group);
}
@@ -527,7 +529,8 @@ export class ViewportHost {
return {
group,
meshes: [core, range]
}; }
};
}
private createSpotLightGizmoRenderObjects(
entityId: string,