change select behavior. fix material double side. tweak platform color

This commit is contained in:
Stewart Allen 2022-01-02 21:25:39 -05:00
commit e5be3ae81d
5 changed files with 23 additions and 13 deletions

View file

@ -748,7 +748,7 @@
let selection = null,
trackTo = alignedTracking ? trackPlane : platform,
isVis = trackTo.visible;
if (mouseDownSelect) selection = mouseDownSelect();
if (mouseDownSelect) selection = mouseDownSelect(undefined, event);
if (selection && selection.length > 0) {
trackTo.visible = true;
let int = intersect(selection.slice().append(trackTo), false);