Skip to content

AnimateLibraryExporter outputs blendMode as String instead of Int, errors on AnimateLibrary.__parseSprite #23

@twilson90

Description

@twilson90

Errors at this line with any object with a blendmode set:
object.blendMode = objectData.blendMode;
with:
Can't cast String to i32
For some reason I have to explicitly call 'BlendMode.fromString':
object.blendMode = BlendMode.fromString(objectData.blendMode);
Then it works.

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