Files
OneCAD-Draft/src/scene
HakanandClaude Sonnet 4.6 321433ee45 fix(render): cap wire segments to prevent GPU memory exhaustion
Adds two-layer protection against large entities crashing the renderer:
- MAX_SEGS_PER_WIRE (100K): per-entity hard cap, excess segments truncated
- MAX_TOTAL_SEGS (3M): scene-level budget in upload_wires, excess wires skipped

Both limits log a warning to stderr when triggered.

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
2026-05-07 17:24:28 +03:00
..
2026-03-22 14:56:27 +03:00
2026-03-22 14:56:27 +03:00
2026-03-22 14:56:27 +03:00
2026-03-22 14:56:27 +03:00