diff options
author | Lars-Dominik Braun <lars@6xq.net> | 2015-03-22 15:27:53 +0100 |
---|---|---|
committer | Lars-Dominik Braun <lars@6xq.net> | 2015-05-02 21:36:45 +0200 |
commit | b2cce683d3c84780fd31b16e26b6b85666da2872 (patch) | |
tree | 370747de88af51df144695a024d07908d6dac4a9 /parser.c | |
parent | 2b86c2ba0074afe2eff0cfeb5cb1b18ca9984834 (diff) | |
download | pucket-b2cce683d3c84780fd31b16e26b6b85666da2872.tar.gz pucket-b2cce683d3c84780fd31b16e26b6b85666da2872.tar.bz2 pucket-b2cce683d3c84780fd31b16e26b6b85666da2872.zip |
Remove motion language
Diffstat (limited to 'parser.c')
-rw-r--r-- | parser.c | 20 |
1 files changed, 1 insertions, 19 deletions
@@ -275,7 +275,7 @@ void scan_for_flame_nodes(xmlNode *cur_node, int default_flag, flam3_genome **al int parse_flame_element(xmlNode *flame_node, flam3_genome *loc_current_cp, randctx * const rc) { flam3_genome *cp = loc_current_cp; - xmlNode *chld_node, *motion_node; + xmlNode *chld_node; xmlAttrPtr att_ptr, cur_att; int solo_xform=-1; char *att_str; @@ -655,24 +655,6 @@ int parse_flame_element(xmlNode *flame_node, flam3_genome *loc_current_cp, return(1); } - - /* Motion Language: Check the xform element for children - should be named 'motion'. */ - for (motion_node=chld_node->children; motion_node; motion_node = motion_node->next) { - - if (!xmlStrcmp(motion_node->name, (const xmlChar *)"motion")) { - - int nm = cp->xform[xf].num_motion; - - /* Add motion element to xform */ - flam3_add_motion_element( &cp->xform[xf] ); - - /* Read motion xml */ - if (parse_xform_xml(motion_node, &(cp->xform[xf].motion[nm]), NULL, NULL, 0, 1) != 0) - return(1); - - } - - } } } /* Done parsing flame element. */ |