summaryrefslogtreecommitdiffstats
path: root/src/live_effects
diff options
context:
space:
mode:
Diffstat (limited to 'src/live_effects')
-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 a6c8ab90b..6c07f246c 100644
--- a/src/live_effects/lpe-fillet-chamfer.cpp
+++ b/src/live_effects/lpe-fillet-chamfer.cpp
@@ -575,7 +575,7 @@ LPEFilletChamfer::doEffect_path(Geom::PathVector const &path_in)
Geom::Path path_chamfer;
path_chamfer.start(tmp_path.finalPoint());
if (eliptical) {
- ccw_toggle = ccw_toggle ? 0 : 1;
+ ccw_toggle = ccw_toggle ? false : true;
path_chamfer.appendNew<Geom::EllipticalArc>(rx, ry, arc_angle, 0, ccw_toggle, end_arc_point);
} else {
path_chamfer.appendNew<Geom::CubicBezier>(handle_1, handle_2, end_arc_point);
@@ -607,7 +607,7 @@ LPEFilletChamfer::doEffect_path(Geom::PathVector const &path_in)
default: //fillet
{
if (eliptical) {
- ccw_toggle = ccw_toggle ? 0 : 1;
+ ccw_toggle = ccw_toggle ? false : true;
tmp_path.appendNew<Geom::EllipticalArc>(rx, ry, arc_angle, 0, ccw_toggle, end_arc_point);
} else {
tmp_path.appendNew<Geom::CubicBezier>(handle_1, handle_2, end_arc_point);