FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Export: warn instead of crashing on freehand/zigzag stipple by AnibalPinto · Pull Request #1752 · solvespace/solvespace · GitHub

Export: warn instead of crashing on freehand/zigzag stipple - #1752

Merged
phkahler merged 1 commit into
solvespace:masterfrom
AnibalPinto:master-1506
Aug 5, 2026
Merged

phkahler merged 1 commit into
solvespace:masterfrom
AnibalPinto:master-1506

Conversation

Copy link
Copy Markdown
Contributor

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.

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.

phkahler commented Aug 5, 2026

Copy link
Copy Markdown
Member

I'll merge this, but I'm going to re-open #1506 because we should be able to export stipple patterns.

phkahler merged commit 42814fa into solvespace:master Aug 5, 2026
4 checks passed
AnibalPinto deleted the master-1506 branch August 5, 2026 20:16

ruevs commented Aug 6, 2026

Copy link
Copy Markdown
Member

I'll merge this, but I'm going to re-open #1506 because we should be able to export stipple patterns.

You decided to close it after all?

ruevs commented Sep 24, 2026

Copy link
Copy Markdown
Member

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

SolveSpace crashes when exporting 2D View with zigzag line style

3 participants


Back | FazBrowse Home | New Git URL