Re: I want to help
Posted by Rallaz on Jan 26, 2014; 4:22pm
URL: https://forum.librecad.org/I-want-to-help-tp5709375p5709422.html
I made a litte test and seem working well changing:
bool insertAfter1 = false;
if (!isClosedPolyline) {
insertAfter1 = (idx1<idx2);
}
else {
insertAfter1 = ((idx1<idx2 && idx1!=0) ||(idx1==0 && idx2==1) ||
(idx2==0 && idx1==(int)baseContainer->count()-1));
}
By:
bool insertAfter1 = ((idx1<idx2 && idx1!=0) ||(idx1==0 && idx2==1) ||
(idx2==0 && idx1==(int)baseContainer->count()-1));
Modify->bevel can also be bad