Skip to content

Commit

Permalink
hatch: a fix for ellipse detection
Browse files Browse the repository at this point in the history
  • Loading branch information
dxli committed Jun 3, 2015
1 parent 3e7b56e commit 91c4731
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion librecad/src/lib/engine/rs_entitycontainer.cpp
Expand Up @@ -1513,7 +1513,7 @@ bool RS_EntityContainer::optimizeContours() {
//detect circles and whole ellipses
switch(e1->rtti()){
case RS2::EntityEllipse:
if(static_cast<RS_Ellipse*>(e1)->isArc())
if(static_cast<RS_Ellipse*>(e1)->isEllipticArc())
continue;
case RS2::EntityCircle:
//directly detect circles, bug#3443277
Expand Down

0 comments on commit 91c4731

Please sign in to comment.