From 8cbc3b87e82d66a5a9f42586459e76485534be50 Mon Sep 17 00:00:00 2001 From: Nikita Kitaev Date: Sun, 22 Nov 2009 22:23:13 -0800 Subject: [PATCH] Fix transform code misnesting --- synfig-core/src/modules/mod_svg/svg_parser.cpp | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/synfig-core/src/modules/mod_svg/svg_parser.cpp b/synfig-core/src/modules/mod_svg/svg_parser.cpp index 096afa6..968981c 100644 --- a/synfig-core/src/modules/mod_svg/svg_parser.cpp +++ b/synfig-core/src/modules/mod_svg/svg_parser.cpp @@ -390,17 +390,17 @@ Svg_parser::parser_graphics(const xmlpp::Node* node,xmlpp::Element* root,String } if(typeStroke==2){ //gradient in onto mode (stroke) - if (SVG_RESOLVE_BLINE) - build_fill(child_stroke,fill,mtx); - else - build_fill(child_stroke,fill,NULL); - } - if (SVG_RESOLVE_BLINE) - parser_effects(nodeElement,child_layer,parent_style,NULL); - else - parser_effects(nodeElement,child_layer,parent_style,mtx); - + if (SVG_RESOLVE_BLINE) + build_fill(child_stroke,fill,mtx); + else + build_fill(child_stroke,fill,NULL); + } } + + if (SVG_RESOLVE_BLINE) + parser_effects(nodeElement,child_layer,parent_style,NULL); + else + parser_effects(nodeElement,child_layer,parent_style,mtx); } } -- 2.7.4