Skip to content

Fix 'Solidify Stroke' node not appending elements in the BezPath after the first ClosePath element#2732

Merged
indierusty merged 3 commits intomasterfrom
ir/append-bezpath
Jun 18, 2025
Merged

Fix 'Solidify Stroke' node not appending elements in the BezPath after the first ClosePath element#2732
indierusty merged 3 commits intomasterfrom
ir/append-bezpath

Conversation

@indierusty
Copy link
Copy Markdown
Collaborator

@indierusty indierusty commented Jun 18, 2025

Issue:
Previously the AppendBezpath::append_bezpath() method didn't append the elements after the first ClosePath element in the given BezPath, but the Bezpath can contain more than one path. The 'Solidify Stroke' node creates at least two paths, but the append_bezpath method only appends the first path, and hence 'Solidify Stroke' didn't work correctly.

Fix:
Now AppendBezpath::append_bezpath() appends all the paths in the given BezPath, which also fixes the 'Solidify Stroke' node.

Fixes : https://discord.com/channels/731730685944922173/1372783056632549386/1384742146241724577

@github-actions github-actions bot temporarily deployed to graphite-dev (Preview) June 18, 2025 09:28 Inactive
@indierusty indierusty changed the title Fix function that appends bezpaths to the the VectorData. Fixes 'Solidify Stroke' node as it uses append_bezpath method which was only appending elements in the BezPath upto the first ClosePath element to the the VectorData. Jun 18, 2025
@indierusty indierusty changed the title Fixes 'Solidify Stroke' node as it uses append_bezpath method which was only appending elements in the BezPath upto the first ClosePath element to the the VectorData. Fixes the append_bezpath method used by the 'Solidify Stroke' node, not appending elements in the BezPath after the first ClosePath element to the VectorData. Jun 18, 2025
@github-actions github-actions bot temporarily deployed to graphite-dev (Preview) June 18, 2025 09:57 Inactive
@indierusty indierusty merged commit c771d13 into master Jun 18, 2025
4 checks passed
@indierusty indierusty deleted the ir/append-bezpath branch June 18, 2025 10:10
@Keavon Keavon changed the title Fixes the append_bezpath method used by the 'Solidify Stroke' node, not appending elements in the BezPath after the first ClosePath element to the VectorData. Fix 'Solidify Stroke' node not appending elements in the BezPath after the first ClosePath element Jun 18, 2025
Keavon pushed a commit that referenced this pull request Jun 20, 2025
…r the first ClosePath element (#2732)

Issue:
Previously the `AppendBezpath::append_bezpath()` method didn't append the elements after the first `ClosePath` element in the given BezPath, but the Bezpath can contain more than one path. The 'Solidify Stroke' node creates at least two paths, but the `append_bezpath` method only appends the first path, and hence 'Solidify Stroke' didn't work correctly.

Fix:
Now `AppendBezpath::append_bezpath()` appends all the paths in the given BezPath, which also fixes the 'Solidify Stroke' node.
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.

2 participants