Merging animations places triggers after the animation merged before them

Appending moves the appended animation's triggers by the length merged so
far; prepending moves the target's triggers by the prepended length.
Replace and ignore keep trigger times. Goldens for prepend merges updated.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
shweetandClaude Opus 5.5 committed 2026-10-06 02:03:20 -04:00
1 parent a440af3c95
commit ef5796d667
4 files changed
+39 -6

No files matched your search

@@ -16,7 +16,7 @@
</Events>
</Content>
<Animations DefaultAnimation="Missing">
<Animation Name="A (Merged)" FrameNum="9" Loop="true">
<Animation Name="A (Merged)" FrameNum="10" Loop="true">
<RootAnimation>
<Frame XPosition="0" YPosition="0" Delay="4" Visible="true" XScale="100" YScale="100" ShearX="0" ShearY="0" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/>
</RootAnimation>
@@ -30,8 +30,8 @@
<LayerAnimation LayerId="99" Visible="true"/>
</LayerAnimations>
<Triggers>
<Trigger EventId="5" AtFrame="2"/>
<Trigger EventId="8" AtFrame="9"/>
<Trigger EventId="5" AtFrame="3"/>
<Trigger EventId="8" AtFrame="10"/>
</Triggers>
</Animation>
</Animations>