add contour bridging option, tab color/opacity update on light/dark change

This commit is contained in:
Stewart Allen 2022-10-04 22:14:30 -04:00
commit 66da2789b2
5 changed files with 40 additions and 5 deletions

View file

@ -665,7 +665,7 @@ function addbox(point, color, name, dim = {x:1,y:1,z:1,rz:0}, opt = {}) {
new BoxGeometry(dim.x, dim.y, dim.z),
new MeshPhongMaterial({
transparent: true,
opacity: 0.5,
opacity: opt.opacity || 0.5,
color
})
);