add sketch selection and focus + normal

This commit is contained in:
Stewart Allen 2024-07-24 13:28:15 -04:00
commit a594999292
3 changed files with 20 additions and 4 deletions

View file

@ -1131,7 +1131,10 @@ const api = exports({
objects() {
// return model objects suitable for finding ray intersections
return group.list().map(o => o.models).flat().map(o => o.mesh);
return [
...group.list().map(o => o.models).flat().map(o => o.mesh),
...sketches.map(s => s.object)
];
},
isDebug: self.debug === true