Repository navigation
v1.0.2 ~ c4f4fed by xaprier on 2026-10-12
chore(version): version updated [release]
~ b3d9b2c by xaprier on 2026-10-12
fix: sphere disappearing in other viewport-mode panes while dragging
SetSlice() routes through vtkImageViewer2::UpdateDisplayExtent(),
which narrows the camera clipping range to a few voxels around the
image plane whenever its own InteractorStyle is null -- true in
viewport mode, since SetupViewers() skips SetupInteractor() there so
the shared ViewportInteractorStyle can own mouse routing instead.
That narrow range ignores every other prop in the renderer, so
OnSphereUpdated()'s SetSlice() calls clipped the sphere out of any
pane whose camera-to-slice distance didn't line up with it, every
time the sphere moved.
Reset each pane's clipping range after its SetSlice() call, same as
FitToView() already does for the same reason.