summaryrefslogtreecommitdiffstats
path: root/src/live_effects/parameter/filletchamferpointarray.cpp
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2014-08-11 23:31:31 +0000
committerJabiertxof <jtx@jtx.marker.es>2014-08-11 23:31:31 +0000
commit348b712e3fe2fff56c42b5571fc52503744cbb86 (patch)
tree08b068d61a699c3ef27b02177c5ea149fe898197 /src/live_effects/parameter/filletchamferpointarray.cpp
parentCode refactor: now helper paths draw ok when handle is degenerate or cirle ha... (diff)
downloadinkscape-348b712e3fe2fff56c42b5571fc52503744cbb86.tar.gz
inkscape-348b712e3fe2fff56c42b5571fc52503744cbb86.zip
fix a bug knots resetting in fillet-chamfer
(bzr r13341.1.137)
Diffstat (limited to 'src/live_effects/parameter/filletchamferpointarray.cpp')
-rw-r--r--src/live_effects/parameter/filletchamferpointarray.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/live_effects/parameter/filletchamferpointarray.cpp b/src/live_effects/parameter/filletchamferpointarray.cpp
index e9d1c0cd0..147d6baa2 100644
--- a/src/live_effects/parameter/filletchamferpointarray.cpp
+++ b/src/live_effects/parameter/filletchamferpointarray.cpp
@@ -332,10 +332,10 @@ void FilletChamferPointArrayParam::recalculate_knots(
result.push_back(Point(xPos, 0));
}
++curve_it1;
- ++curve_it2;
if (curve_it2 != curve_endit) {
- counter++;
+ ++curve_it2;
}
+ counter++;
counterCurves++;
}
}