Skip to content

Commit ad71a38

Browse files
committed
AnimateLibrary: fix blendMode being set to the string "null" instead of the null value
1 parent 70bc1c4 commit ad71a38

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/swf/exporters/animate/AnimateLibrary.hx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -769,7 +769,7 @@ import openfl.filters.GlowFilter;
769769
for (objectData in objects)
770770
{
771771
object = new AnimateFrameObject();
772-
object.blendMode = Std.string(objectData.blendMode);
772+
object.blendMode = objectData.blendMode != null ? Std.string(objectData.blendMode) : null;
773773
object.cacheAsBitmap = objectData.cacheAsBitmap;
774774
object.clipDepth = objectData.clipDepth;
775775
object.colorTransform = objectData.colorTransform != null ? new ColorTransform(__pixel(objectData.colorTransform[0]),

0 commit comments

Comments
 (0)