From 21499d27e5485ed2f6b6d27c6748bc32be6aa4ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jindra=20Pet=C5=99=C3=ADk?= Date: Sat, 2 Nov 2024 00:34:43 +0100 Subject: [PATCH] Fixed: #2361 Transform tool for PlaceObject tags --- CHANGELOG.md | 2 ++ src/com/jpexs/decompiler/flash/gui/PreviewPanel.java | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4950670a8..2d6c75a33 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ All notable changes to this project will be documented in this file. ### Fixed - [#2357] AS3 instance var/const initialization +- [#2361] Transform tool for PlaceObject tags ## [21.1.3] - 2024-10-29 ### Fixed @@ -3640,6 +3641,7 @@ Major version of SWF to XML export changed to 2. [alpha 8]: https://github.com/jindrapetrik/jpexs-decompiler/compare/alpha7...alpha8 [alpha 7]: https://github.com/jindrapetrik/jpexs-decompiler/releases/tag/alpha7 [#2357]: https://www.free-decompiler.com/flash/issues/2357 +[#2361]: https://www.free-decompiler.com/flash/issues/2361 [#2344]: https://www.free-decompiler.com/flash/issues/2344 [#2348]: https://www.free-decompiler.com/flash/issues/2348 [#2341]: https://www.free-decompiler.com/flash/issues/2341 diff --git a/src/com/jpexs/decompiler/flash/gui/PreviewPanel.java b/src/com/jpexs/decompiler/flash/gui/PreviewPanel.java index cc46877ca..65126cc4a 100644 --- a/src/com/jpexs/decompiler/flash/gui/PreviewPanel.java +++ b/src/com/jpexs/decompiler/flash/gui/PreviewPanel.java @@ -2249,7 +2249,8 @@ public class PreviewPanel extends JPersistentSplitPane implements TagEditorPanel if (displayEditTag instanceof PlaceObjectTypeTag) { PlaceObjectTypeTag placeTag = (PlaceObjectTypeTag) displayEditTag; placeTag.setPlaceFlagHasMatrix(true); - placeTag.setMatrix(matrix.toMATRIX()); + Matrix origMatrix = new Matrix(placeTag.getMatrix()); + placeTag.setMatrix(matrix.concatenate(origMatrix).toMATRIX()); } if (displayEditTag instanceof ShapeTag) { ShapeTag shape = (ShapeTag) displayEditTag;