From 141ed2d34edae87a7d529416a764b563574c719a Mon Sep 17 00:00:00 2001 From: Nathan Lee <2431820-nathanal@users.noreply.gitlab.com> Date: Fri, 17 May 2019 19:49:15 +1000 Subject: Change Path Cutting for Arcs The arc's sweep and large arc flags are wrong. Also remove early return (proper error handling already present). https://gitlab.com/inkscape/inkscape/issues/250 --- src/livarot/PathCutting.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/livarot/PathCutting.cpp') diff --git a/src/livarot/PathCutting.cpp b/src/livarot/PathCutting.cpp index 34263bc58..94826c70b 100644 --- a/src/livarot/PathCutting.cpp +++ b/src/livarot/PathCutting.cpp @@ -1241,9 +1241,9 @@ void Path::ConvertPositionsToForced(int nbPos, cut_position *poss) PathDescrArcTo *nData = dynamic_cast(descr_cmd[cp]); nData->p=theP; if ( delta*ct > M_PI ) { - nData->clockwise=true; + nData->large=true; } else { - nData->clockwise=false; + nData->large=false; } } // decalages dans le tableau des positions de coupe -- cgit v1.2.3