allow sketch items to be up-click targeted

This commit is contained in:
Stewart Allen 2024-07-25 00:30:54 -04:00
commit 9d991b0a97
3 changed files with 13 additions and 2 deletions

View file

@ -235,6 +235,7 @@ mesh.sketch = class MeshSketch extends mesh.object {
let geo = new BufferGeometry();
geo.setAttribute('position', new BufferAttribute(vrt, 3));
let meh = new Mesh(geo, mesh.material.normal);
meh.renderOrder = -1;
meh.poly = poly;
group.add(meh);
});