From bcd378bf5ec99ecbbf782a03deb95950228d398a Mon Sep 17 00:00:00 2001 From: StickmanRed <100049599+StickmanRed@users.noreply.github.com> Date: Sun, 21 Jun 2026 14:57:18 -0700 Subject: [PATCH] Fix brush tool breaking on layers with images or clips --- engine/src/tools/Brush.js | 1 + 1 file changed, 1 insertion(+) diff --git a/engine/src/tools/Brush.js b/engine/src/tools/Brush.js index 1dc54932d..50fe2afeb 100644 --- a/engine/src/tools/Brush.js +++ b/engine/src/tools/Brush.js @@ -522,6 +522,7 @@ Wick.Tools.Brush = class extends Wick.Tool { var mask = null; layer.children.forEach(otherPath => { if(otherPath === mask) return; + if(!(otherPath instanceof this.paper.Path || otherPath instanceof this.paper.CompoundPath)) return; if(mask) { var newMask = mask.unite(otherPath);