Skip to content

[BUG] Export <export_namespace>/on_load.mcb is corrupt with “Use Storage for Animation” enabled #350

Closed
@ChenCMD

Description

@ChenCMD

Describe the bug
In <export_namespace>/on_load.mcf export with “Use Storage for Animation” enabled, the command is missing as screenshot

To Reproduce
Steps to reproduce the behavior:

  1. Enable “Use Storage for Animation”
  2. Create at least one animation
  3. Export (any version)
  4. See data/animated_java/functions/<export_namespace>/on_load.mcf

Expected behavior
The data remove command for each animation is correctly described.

Screenshots
image

Desktop (please complete the following information):

  • OS: Windows_NT x64 10.0.19045
  • Version v1.6.0

Additional context
This problem is caused by the absence of a property storageSafeName in IRenderedAnimation.

data remove storage aj.<%export_namespace%>:animations <%animation.storageSafeName%>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions