Subversion Repositories Scribus

Compare Revisions

Ignore whitespace Rev 22492 → Rev 22493

/branches/Version14x/Scribus/scribus/plugins/tools/2geomtools/lib2geom/piecewise.h
291,7 → 291,7
unsigned si = 0, ci = 0; //Segment index, Cut index
 
//if the cuts have something earlier than the Piecewise<T>, add portions of the first segment
while(c[ci] < pw.cuts.front() && ci < c.size()) {
while(ci < c.size() && c[ci] < pw.cuts.front()) {
bool isLast = (ci == c.size()-1 || c[ci + 1] >= pw.cuts.front());
ret.push_cut(c[ci]);
ret.push_seg( elem_portion(pw, 0, c[ci], isLast ? pw.cuts.front() : c[ci + 1]) );