diff options
| author | Nathan Lee <2431820-nathanal@users.noreply.gitlab.com> | 2019-05-17 09:49:15 +0000 |
|---|---|---|
| committer | Thomas Holder <thomas@thomas-holder.de> | 2019-06-17 21:53:51 +0000 |
| commit | 141ed2d34edae87a7d529416a764b563574c719a (patch) | |
| tree | 4ad1b37cb7e0b86db3822c00daacf16e9d4ac664 /src/livarot/PathCutting.cpp | |
| parent | Sync pen toolbar mode change with tool (diff) | |
| download | inkscape-141ed2d34edae87a7d529416a764b563574c719a.tar.gz inkscape-141ed2d34edae87a7d529416a764b563574c719a.zip | |
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
Diffstat (limited to 'src/livarot/PathCutting.cpp')
| -rw-r--r-- | src/livarot/PathCutting.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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<PathDescrArcTo *>(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 |
