Skip to content

Commit

Permalink
Stop automatically pruning empty segments in RawPath
Browse files Browse the repository at this point in the history
RawPath used to discard empty segments from lineTo/quadTo/cubicTo. However, it was still possible produce empty segments when transforming a path, and RawPath didn't catch those.

This change adds a simple utility, RawPath::pruneEmptySegments(), and passes the responsibility on to the client for using this method when necessary (including after a transform).

Diffs=
bae069339 Stop automatically pruning empty segments in RawPath (#5557)
  • Loading branch information
csmartdalton committed Jul 12, 2023
1 parent 8281658 commit 0d17c52
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .rive_head
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2d2d8c4131249c3e82d081cd592466d35ddee744
bae069339f54793b8d16ec9bcacf5ef19d0f3cc5
2 changes: 1 addition & 1 deletion submodules/rive-cpp

0 comments on commit 0d17c52

Please sign in to comment.