fix paint on support for translated widgets, apply belt transforms to manual paint points at slice time

This commit is contained in:
Stewart Allen 2026-01-10 13:48:54 -05:00
commit d581db53c0
5 changed files with 28 additions and 6 deletions

View file

@ -302,8 +302,14 @@ function supportStart({ remove } = { remove: false }) {
function supportUpdate(point, widget, remove) {
let { x, y, z } = point;
let pos = widget.track.pos;
// translate from three coordinates to widget coordinates
let rec = {
point: { x, y:-z, z:y },
point: {
x: x - pos.x,
y: -z - pos.y,
z: y - pos.z
},
radius: 2
};
// return console.log({ on, widget, point });