Repair duplicate content ids on load; pass unknown attributes and text through
- Duplicate ids in any content list (spritesheets, shaders, layers, nulls, events, sounds, regions) are repaired at load: the first holder keeps the id, so tracks stay bound to the item they referenced (previously remapped to the wrong layer) - Unknown attributes and element text survive save; retired BakeCount/OriginalDelay are still dropped. Private corpus (1,251 files) output unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
8953101245
commit
5311c2835f
28 files changed
+223
-175
No files matched your search
@@ -1,64 +1,64 @@
|
||||
<AnimatedActor>
|
||||
<Info CreatedBy="fixture" CreatedOn="01/01/2026 12:00:00 PM" Fps="60" Version="5"/>
|
||||
<Comment/>
|
||||
<AnimatedActor Mystery="root">
|
||||
<Info CreatedBy="fixture" CreatedOn="01/01/2026 12:00:00 PM" Fps="60" Version="5" Extra="1"/>
|
||||
<Comment>keep me</Comment>
|
||||
<Content>
|
||||
<Spritesheets>
|
||||
<Spritesheet Id="0" Path="sheet.png"/>
|
||||
<Spritesheet Id="0" Path="sheet.png" Hint="x"/>
|
||||
</Spritesheets>
|
||||
<Layers>
|
||||
<Layer Id="0" Name="a" SpritesheetId="0"/>
|
||||
<Layer Id="0" Name="a" SpritesheetId="0" Blend="add"/>
|
||||
</Layers>
|
||||
<Nulls/>
|
||||
<Events/>
|
||||
<CustomBlock>
|
||||
<Child/>
|
||||
<CustomBlock Key="v">
|
||||
<Child Deep="1"/>
|
||||
</CustomBlock>
|
||||
</Content>
|
||||
<Animations DefaultAnimation="A">
|
||||
<Animation Name="A" FrameNum="4" Loop="true">
|
||||
<Animation Name="A" FrameNum="4" Loop="true" Speed="2">
|
||||
<RootAnimation>
|
||||
<Frame XPosition="0" YPosition="0" Delay="4" Visible="true" XScale="100" YScale="100" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/>
|
||||
</RootAnimation>
|
||||
<LayerAnimations>
|
||||
<LayerAnimation LayerId="0" Visible="true">
|
||||
<Frame XPivot="8" YPivot="8" XCrop="0" YCrop="0" Width="16" Height="16" XPosition="0" YPosition="0" Delay="4" Visible="true" XScale="100" YScale="100" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/>
|
||||
<Frame XPivot="8" YPivot="8" XCrop="0" YCrop="0" Width="16" Height="16" XPosition="0" YPosition="0" Delay="4" Visible="true" XScale="100" YScale="100" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false" Unknown="9"/>
|
||||
</LayerAnimation>
|
||||
</LayerAnimations>
|
||||
<NullAnimations/>
|
||||
<Triggers/>
|
||||
<Metadata/>
|
||||
<Metadata Tag="m"/>
|
||||
</Animation>
|
||||
</Animations>
|
||||
<Trailer/>
|
||||
<SourceDocument>
|
||||
<Info CreatedBy="fixture" CreatedOn="01/01/2026 12:00:00 PM" Fps="60" Version="5"/>
|
||||
<Comment/>
|
||||
<SourceDocument Mystery="root">
|
||||
<Info CreatedBy="fixture" CreatedOn="01/01/2026 12:00:00 PM" Fps="60" Version="5" Extra="1"/>
|
||||
<Comment>keep me</Comment>
|
||||
<Content>
|
||||
<Spritesheets>
|
||||
<Spritesheet Id="0" Path="sheet.png"/>
|
||||
<Spritesheet Id="0" Path="sheet.png" Hint="x"/>
|
||||
</Spritesheets>
|
||||
<Layers>
|
||||
<Layer Id="0" Name="a" SpritesheetId="0"/>
|
||||
<Layer Id="0" Name="a" SpritesheetId="0" Blend="add"/>
|
||||
</Layers>
|
||||
<Nulls/>
|
||||
<Events/>
|
||||
<CustomBlock>
|
||||
<Child/>
|
||||
<CustomBlock Key="v">
|
||||
<Child Deep="1"/>
|
||||
</CustomBlock>
|
||||
</Content>
|
||||
<Animations DefaultAnimation="A">
|
||||
<Animation Name="A" FrameNum="4" Loop="true">
|
||||
<Animation Name="A" FrameNum="4" Loop="true" Speed="2">
|
||||
<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>
|
||||
<LayerAnimations>
|
||||
<LayerAnimation LayerId="0" Visible="true">
|
||||
<Frame XPivot="8" YPivot="8" XCrop="0" YCrop="0" Width="16" Height="16" 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"/>
|
||||
<Frame XPivot="8" YPivot="8" XCrop="0" YCrop="0" Width="16" Height="16" 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" Unknown="9"/>
|
||||
</LayerAnimation>
|
||||
</LayerAnimations>
|
||||
<NullAnimations/>
|
||||
<Triggers/>
|
||||
<Metadata/>
|
||||
<Metadata Tag="m"/>
|
||||
</Animation>
|
||||
</Animations>
|
||||
<Trailer/>
|
||||
|
||||
Reference in new issue
Block a user