Skip to content

Commit

Permalink
Write NumGradients field for MorphGradient.
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew-klaassen committed Dec 14, 2017
1 parent 1942452 commit 00c26ea
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions format/swf/Writer.hx
Original file line number Diff line number Diff line change
Expand Up @@ -870,6 +870,7 @@ class Writer {
if(num < 1 || num > 8)
throw "Number of specified morph gradients ("+num+") must be in range 1..8";

o.writeByte(num);
for(grad in gradients) {
writeMorphGradient(ver, grad);
}
Expand Down

0 comments on commit 00c26ea

Please sign in to comment.