You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Release v0.3.4: colored ROI outlines + 3 audit-followup fixes
Follow-up to the v0.3.3 adversarial audit (four findings from a full-project review):
1. Colored ROI outlines. The palette color was stored/exported and shown as a
panel swatch but the baked outline was always white, so the swatch meant
nothing on the surface. The adapter now strokes each ROI in its color over a
white halo (kept legible on data + anatomy). Imported colors run through a
hex-only safeColor() before entering the SVG style attribute.
2. Bezier/vertex consistency. deriveRoiFromLasso no longer attaches a fitted
bezier when re-derivation from it encloses zero vertices — it would leave the
source-of-truth curve disagreeing with the fallback lasso vertices. New
headless test covers the drop + the normal-case equality.
3. Display-mode framing. _onMix now auto-frames only while in Draw mode, so a
user unfolding the surface in Display no longer has the camera fight their
zoom/pan every morph frame.
4. _worldOf hardening. Apply the flatoff offset to our own vector instead of
mutating get_position()'s returned pos (may be shared/cached in mriview).
Suite 93 -> 94 JS tests. Bundle rebuilt (94,844 B).
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
0 commit comments