Fixed: Simple editor - Exceptions caused by not setting timelined when modifying PlaceObject

This commit is contained in:
Jindra Petřík
2025-05-13 09:53:25 +02:00
parent 4403cf68f6
commit 5b4b40ba88
2 changed files with 2 additions and 0 deletions

View File

@@ -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.

View File

@@ -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);
}
}