allow sketch items to be up-click targeted
This commit is contained in:
parent
63620bfcbe
commit
9d991b0a97
3 changed files with 13 additions and 2 deletions
|
|
@ -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);
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue