You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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
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.
The text was updated successfully, but these errors were encountered: