From 793d4c4577d1bea462477432353af084e26a4b82 Mon Sep 17 00:00:00 2001 From: doskabouter Date: Thu, 19 Mar 2026 10:03:41 +0100 Subject: [PATCH] [MC-2936] Textonpath script doesn't preserve transparency --- SVGRepair.jsx | 1 + fixtextonpath.jsx | 1 + 2 files changed, 2 insertions(+) diff --git a/SVGRepair.jsx b/SVGRepair.jsx index 453a335..4490f6f 100644 --- a/SVGRepair.jsx +++ b/SVGRepair.jsx @@ -249,6 +249,7 @@ function FixPath(item) { pathItem.setEntirePath(newGeo); for (var i = templateFrames.length-1; i>=0; i--) { var nw = item.parent.textFrames.pathText(pathItem.duplicate(), 0, 0, TextOrientation.HORIZONTAL, templateFrames[i]); + nw.opacity = item.opacity; } item.remove(); } diff --git a/fixtextonpath.jsx b/fixtextonpath.jsx index d3b8ab0..9a152aa 100644 --- a/fixtextonpath.jsx +++ b/fixtextonpath.jsx @@ -77,6 +77,7 @@ function FixPath(item) { pathItem.setEntirePath(newGeo); for (var i = templateFrames.length-1; i>=0; i--) { var nw = item.parent.textFrames.pathText(pathItem.duplicate(), 0, 0, TextOrientation.HORIZONTAL, templateFrames[i]); + nw.opacity = item.opacity; } item.remove(); }