summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2015-07-05 01:14:24 +0000
committerJabiertxof <jtx@jtx.marker.es>2015-07-05 01:14:24 +0000
commitebcbadbe16fe20e54a5daf9c5e6954521113d9cc (patch)
treeff63c3500631939f193a3a7d42655c3a249198d6 /src
parentfix to compile on Krzysztof merge previous to fix the improvements in the mer... (diff)
downloadinkscape-ebcbadbe16fe20e54a5daf9c5e6954521113d9cc.tar.gz
inkscape-ebcbadbe16fe20e54a5daf9c5e6954521113d9cc.zip
Fix a bug displaying arcs
(bzr r13645.1.101)
Diffstat (limited to 'src')
-rw-r--r--src/live_effects/lpe-fillet-chamfer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/live_effects/lpe-fillet-chamfer.cpp b/src/live_effects/lpe-fillet-chamfer.cpp
index b617c929e..eb9f82918 100644
--- a/src/live_effects/lpe-fillet-chamfer.cpp
+++ b/src/live_effects/lpe-fillet-chamfer.cpp
@@ -659,6 +659,7 @@ LPEFilletChamfer::doEffect_path(Geom::PathVector const &path_in)
is_straight_curve(*curve_it2_fixed) && method != FM_BEZIER) ||
method == FM_ARC)
{
+ ccw_toggle = ccw_toggle ? 0 : 1;
path_chamfer.appendNew<Geom::EllipticalArc>(rx, ry, arc_angle, 0,
ccw_toggle, end_arc_point);
} else {
@@ -678,7 +679,6 @@ LPEFilletChamfer::doEffect_path(Geom::PathVector const &path_in)
is_straight_curve(*curve_it2_fixed) && method != FM_BEZIER) ||
method == FM_ARC)
{
- ccw_toggle = ccw_toggle ? 0 : 1;
path_chamfer.appendNew<Geom::EllipticalArc>(rx, ry, arc_angle, 0,
ccw_toggle, end_arc_point);
} else {
@@ -697,7 +697,6 @@ LPEFilletChamfer::doEffect_path(Geom::PathVector const &path_in)
is_straight_curve(*curve_it2_fixed) && method != FM_BEZIER) ||
method == FM_ARC)
{
- ccw_toggle = ccw_toggle ? 0 : 1;
tmp_path.appendNew<Geom::EllipticalArc>(rx, ry, arc_angle, 0, ccw_toggle,
end_arc_point);
} else {
@@ -709,6 +708,7 @@ LPEFilletChamfer::doEffect_path(Geom::PathVector const &path_in)
is_straight_curve(*curve_it2_fixed) && method != FM_BEZIER) ||
method == FM_ARC)
{
+ ccw_toggle = ccw_toggle ? 0 : 1;
tmp_path.appendNew<Geom::EllipticalArc>(rx, ry, arc_angle, 0, ccw_toggle,
end_arc_point);
} else {