Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
twilson90 opened this issue Oct 5, 2022 · 0 comments

Comments

@twilson90
Copy link

twilson90 commented Oct 5, 2022

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.

@twilson90 twilson90 changed the title AnimateLibraryExporter outputs blendMode as string, errors on AnimateLibrary.__parseSprite AnimateLibraryExporter outputs blendMode as String instead of Int, errors on AnimateLibrary.__parseSprite Oct 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant