| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Fixes solvespace#1506. Exporting a 2D view with a line style that uses the freehand or zigzag stipple pattern crashed with an assertion failure in MakeStipplePattern(), since those patterns have no vector-export equivalent. The on-screen renderer handles them via the OpenGL StippleAtlas, so the crash only occurred on vector export (SVG/PDF/EPS/DXF). Replace the ssassert() with a dbp() warning and fall through to export the line as continuous, so a valid file is produced instead of aborting.
|
I'll merge this, but I'm going to re-open #1506 because we should be able to export stipple patterns. |
Sorry, something went wrong.
You decided to close it after all? |
Sorry, something went wrong.
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Fixes #1506.
Exporting a 2D view with a line style that uses the freehand or zigzag stipple pattern crashed with an assertion failure in MakeStipplePattern(), since those patterns have no vector-export equivalent. The on-screen renderer handles them via the OpenGL StippleAtlas, so the crash only occurred on vector export (SVG/PDF/EPS/DXF).
Replace the ssassert() with a dbp() warning and fall through to export the line as continuous, so a valid file is produced instead of aborting.