From 5b4b40ba8802b6eb774f09233e073edd6127ffd9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jindra=20Pet=C5=99=C3=ADk?= Date: Tue, 13 May 2025 09:53:25 +0200 Subject: [PATCH] Fixed: Simple editor - Exceptions caused by not setting timelined when modifying PlaceObject --- CHANGELOG.md | 1 + .../flash/easygui/properties/panels/InstancePropertiesPanel.java | 1 + 2 files changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 02b98963e..6fc816408 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -74,6 +74,7 @@ All notable changes to this project will be documented in this file. - Incorrect cursor handling when placed object has filters - FLA export - Rounding errors on COLORMATRIXFILTER contrast - Filters - image bounds +- Simple editor - Exceptions caused by not setting timelined when modifying PlaceObject ### Removed - Option to preview flash items via ActiveX component is no longer available. diff --git a/src/com/jpexs/decompiler/flash/easygui/properties/panels/InstancePropertiesPanel.java b/src/com/jpexs/decompiler/flash/easygui/properties/panels/InstancePropertiesPanel.java index 29e688f21..db5d30917 100644 --- a/src/com/jpexs/decompiler/flash/easygui/properties/panels/InstancePropertiesPanel.java +++ b/src/com/jpexs/decompiler/flash/easygui/properties/panels/InstancePropertiesPanel.java @@ -955,6 +955,7 @@ public class InstancePropertiesPanel extends AbstractPropertiesPanel { int convNum = placeObjectBefore.getPlaceObjectNum() < minPlace ? minPlace : placeObjectBefore.getPlaceObjectNum(); PlaceObjectTypeConverter conv = new PlaceObjectTypeConverter(); PlaceObjectTypeTag placeObjectAfter = conv.convertTagType(placeObjectBefore, timelined.getSwf(), convNum, false); + placeObjectAfter.setTimelined(timelined); placeObjectsAfter.add(placeObjectAfter); } }