From ac7cc42eeaba7db4bce9991165656d7ed5acb0b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jindra=20Pet=C5=99=C3=ADk?= Date: Sat, 17 Jan 2026 19:57:45 +0100 Subject: [PATCH] Fixed: #2612 SVG export - problems with retain shape bounds setting --- CHANGELOG.md | 1 + .../src/com/jpexs/decompiler/flash/timeline/Timeline.java | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 04764030a..8a7dff2c8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -31,6 +31,7 @@ All notable changes to this project will be documented in this file. - [#2586] AS3 direct editation + decompilation - XML escape sequences and other XML problems - [#2600] Sprite/button outline incorrect calculation caused by clipping - [#2612] SVG export - handle incorrect surrogate pairs in text +- [#2612] SVG export - problems with retain shape bounds setting ### Changed - [#2575] dumpSWF CLI command only allows single SWF dump (no imports, etc.) diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/timeline/Timeline.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/timeline/Timeline.java index 43de7b5b2..bb6fd406c 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/timeline/Timeline.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/timeline/Timeline.java @@ -2001,7 +2001,7 @@ public class Timeline { createNew = true; } if (createNew) { - exporter.createDefGroup(new ExportRectangle(boundRect), assetName); + exporter.createDefGroup(null, assetName); drawable.toSVG(dframe, dtime, exporter, layer.ratio, clrTrans, level + 1, transformation, absMat); exporter.endGroup();