diff options
| author | Alvin Penner <penner@vaxxine.com> | 2013-11-02 13:04:00 +0000 |
|---|---|---|
| committer | apenner <penner@vaxxine.com> | 2013-11-02 13:04:00 +0000 |
| commit | 90bb2311a8e87439c8ae845fcf22755e40030d1d (patch) | |
| tree | 93ded2fd5aa7b188ef254a90e40cfef4387e7e06 /src/livarot/PathCutting.cpp | |
| parent | improve clang-format settings (diff) | |
| download | inkscape-90bb2311a8e87439c8ae845fcf22755e40030d1d.tar.gz inkscape-90bb2311a8e87439c8ae845fcf22755e40030d1d.zip | |
more conversions from radians to degrees for arcs (Bug 1239462)
Fixed bugs:
- https://launchpad.net/bugs/1239462
(bzr r12763)
Diffstat (limited to 'src/livarot/PathCutting.cpp')
| -rw-r--r-- | src/livarot/PathCutting.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/livarot/PathCutting.cpp b/src/livarot/PathCutting.cpp index 1ebac7644..201f64b54 100644 --- a/src/livarot/PathCutting.cpp +++ b/src/livarot/PathCutting.cpp @@ -1217,7 +1217,7 @@ void Path::ConvertPositionsToForced(int nbPos, cut_position *poss) } { double sang,eang; - ArcAngles(startP,endP,rx,ry,angle,large,clockw,sang,eang); + ArcAngles(startP,endP,rx,ry,angle*M_PI/180.0,large,clockw,sang,eang); if (clockw) { if ( sang < eang ) sang += 2*M_PI; |
