This is on main, built yesterday on MacBook Pro M5. When I hold down shift in the 3D view to place a crosshair, the crosshair is placed slightly above the segment (see attached image). This does not happen on my Windows machine running 5.12.1. Any ideas? This makes placing markups on 3D models inconsistent across platforms. Do I have some incorrect setting in the latest build? Many thanks!!
I actually have a fix for this, with Claude’s help: it looks like it’s associated with “BUG: Keep 3D picking fast when a large surface is shown” (commit 20a81474c0, Aug 2).
Salient points from Claude:
The cause: the 5.12.4 change adds a lookup structure (a cell locator) to large surfaces. With it, VTK’s picker takes the first triangle that comes within the pick tolerance of the ray, not the one the ray actually hits.
The fix: it doesn’t touch the locator. It first searches for a triangle the ray actually hits, then falls back to the normal tolerance search.
Performance: a pick still takes microseconds, versus milliseconds before 5.12.4. Rays that miss the surface can take a second search, but even the slowest pick in the benchmark was under 0.1 ms.