Skip to content

Commit

Permalink
Commented 'angle' var, which reads from SVG and not used in svg_parser
Browse files Browse the repository at this point in the history
  • Loading branch information
blackwarthog committed Aug 30, 2013
1 parent 51feb4c commit bc40dca
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions synfig-core/src/modules/mod_svg/svg_parser.cpp
Expand Up @@ -697,14 +697,16 @@ Svg_parser::parser_path_d(String path_d,SVGMatrix* mtx){
//this curve have 6 parameters
//radius
float radius_x,radius_y;
float angle;
// todo: why 'angle' never used?
//float angle;
bool sweep,large;
//radius
radius_x=atof(tokens.at(i).data());
i++; if(tokens.at(i).compare(",")==0) i++;
radius_y=atof(tokens.at(i).data());
//angle
i++; angle=atof(tokens.at(i).data());
// todo: why 'angle' never used?
i++; // angle=atof(tokens.at(i).data());
//flags
i++; large=atoi(tokens.at(i).data());
i++; sweep=atoi(tokens.at(i).data());
Expand Down

0 comments on commit bc40dca

Please sign in to comment.