various updates

git-svn-id: https://flam3.googlecode.com/svn/trunk@165 77852712-ef1d-11de-8684-7d64432d61a3
This commit is contained in:
Scott Draves
2015-02-15 16:24:13 +00:00
parent fb1c90e18b
commit d29fd65614
7 changed files with 162 additions and 23 deletions
+4
View File
@@ -341,6 +341,10 @@ int parse_flame_element(xmlNode *flame_node, flam3_genome *loc_current_cp) {
cp->palette_interpolation = flam3_palette_interpolation_hsv;
} else if (!strcmp("sweep", att_str)) {
cp->palette_interpolation = flam3_palette_interpolation_sweep;
} else if (!strcmp("hsv2", att_str)) {
cp->palette_interpolation = flam3_palette_interpolation_hsv2;
} else if (!strcmp("rgb", att_str)) {
cp->palette_interpolation = flam3_palette_interpolation_rgb;
} else {
fprintf(stderr, "warning: unrecognized palette interpolation type %s.\n", att_str);
}