forked from 1b-agent/opencadstudio-upstream
Two paper-space rendering fixes: - The full-canvas sheet instance no longer draws model-block hatches/ wipeouts/images. Those belong inside the floating content viewports; rendering them on the sheet let them bleed past the viewport borders when model coords overlapped the paper area. The sheet now draws only the paper block's own fills plus the synthetic white printable area. - Pan/zoom/orbit inside a double-clicked floating viewport (MSPACE) now re-culls and re-uploads the viewport's wire set. The per-viewport wire cache key now hashes the viewport's own view (pan + zoom + orbit), and the active-viewport pan/zoom/orbit handlers bump camera_generation so the GPU re-uploads. Previously the stale frustum-culled subset stayed on the GPU, so newly-revealed lines were invisible (hatches, uploaded as the full set, still showed) until MSPACE was exited. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>