Skip to content

Commit

Permalink
Xeltalliv/clippingblending: Fix compatibility with instanced pen rend…
Browse files Browse the repository at this point in the history
…ering (#1653)
  • Loading branch information
Xeltalliv authored Aug 21, 2024
1 parent 9edfed5 commit 263033c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion extensions/Xeltalliv/clippingblending.js
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,8 @@
clipbox.x_max != lastClipbox.x_max ||
clipbox.y_max != lastClipbox.y_max))
) {
if (skin.a_lineColorIndex) {
if (skin.attribute_index || skin.a_lineColorIndex) {
// Supporting both before and after https://github.com/TurboWarp/scratch-render/pull/11
skin._flushLines();
}
lastTarget = target;
Expand Down

0 comments on commit 263033c

Please sign in to comment.