summaryrefslogtreecommitdiff
path: root/src/parser.c
diff options
context:
space:
mode:
authorErik Reckase <e.reckase@gmail.com>2010-06-23 10:31:31 +0000
committerScott Draves <spot@draves.org>2015-02-15 12:20:12 -0500
commit933c9a4532637d1373f3299035f62e041c495d87 (patch)
tree69a2d9a3a9a10ce0d3a7c73d49579a6ce53529fc /src/parser.c
parentce1ef42a60b4cfdf5c00bf4eb90399090374e31e (diff)
downloadpucket-933c9a4532637d1373f3299035f62e041c495d87.tar.gz
pucket-933c9a4532637d1373f3299035f62e041c495d87.tar.bz2
pucket-933c9a4532637d1373f3299035f62e041c495d87.zip
Added flux variation.
git-svn-id: https://flam3.googlecode.com/svn/trunk@15 77852712-ef1d-11de-8684-7d64432d61a3
Diffstat (limited to 'src/parser.c')
-rw-r--r--src/parser.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/parser.c b/src/parser.c
index 272f212..e28669a 100644
--- a/src/parser.c
+++ b/src/parser.c
@@ -1211,6 +1211,8 @@ int parse_xform_xml(xmlNode *chld_node,flam3_xform *this_xform, int *num_xaos,
this_xform->auger_sym = flam3_atof(att_str);
} else if (!xmlStrcmp(cur_att->name, (const xmlChar *)"auger_scale")) {
this_xform->auger_scale = flam3_atof(att_str);
+ } else if (!xmlStrcmp(cur_att->name, (const xmlChar *)"flux_spread")) {
+ this_xform->flux_spread = flam3_atof(att_str);
} else {
int v = var2n((char *) cur_att->name);
if (v != flam3_variation_none)