diff options
author | Erik Reckase <e.reckase@gmail.com> | 2011-07-23 10:40:41 +0000 |
---|---|---|
committer | Scott Draves <spot@draves.org> | 2015-02-15 12:20:15 -0500 |
commit | 0346f58852435864a80c2287c08fcdfa8fd220e9 (patch) | |
tree | 6a257718931f8c83667fc3524f12b6f2607ef3bb /src | |
parent | 7c5ed6d5c2e68446ccb270ba5214a3d6d175e7b2 (diff) | |
download | pucket-0346f58852435864a80c2287c08fcdfa8fd220e9.tar.gz pucket-0346f58852435864a80c2287c08fcdfa8fd220e9.tar.bz2 pucket-0346f58852435864a80c2287c08fcdfa8fd220e9.zip |
When using motion elements with the final xform, the closing tag on the final xform was incorrectly written as </xform>.
git-svn-id: https://flam3.googlecode.com/svn/trunk@160 77852712-ef1d-11de-8684-7d64432d61a3
Diffstat (limited to 'src')
-rw-r--r-- | src/flam3.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/flam3.c b/src/flam3.c index e2f0bc7..e9fe6fd 100644 --- a/src/flam3.c +++ b/src/flam3.c @@ -2453,7 +2453,11 @@ void flam3_print_xform(FILE *f, flam3_xform *x, int final_flag, int numstd, doub for (nm=0; nm<x->num_motion; nm++) flam3_print_xform(f, &(x->motion[nm]), 0, 0, NULL, 1); - fprintf(f," </xform>\n"); + if (final_flag) + fprintf(f," </finalxform>\n"); + else + fprintf(f," </xform>\n"); + } else fprintf(f, "/>\n"); } |