diff options
| author | Alvin Penner <penner@vaxxine.com> | 2016-04-05 15:13:27 +0000 |
|---|---|---|
| committer | apenner <penner@vaxxine.com> | 2016-04-05 15:13:27 +0000 |
| commit | c2c0e21ac5ed06791b74905272039276d99685a1 (patch) | |
| tree | 280df3976c839203acc02d52579dae769bad30df /src | |
| parent | avoid higher-order calculations if sbasis is cubic. (Bug 1559721) (diff) | |
| download | inkscape-c2c0e21ac5ed06791b74905272039276d99685a1.tar.gz inkscape-c2c0e21ac5ed06791b74905272039276d99685a1.zip | |
re-write rev 11457. (Bug 1557348)
Fixed bugs:
- https://launchpad.net/bugs/1557348
(bzr r14763)
Diffstat (limited to 'src')
| -rw-r--r-- | src/livarot/PathOutline.cpp | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/livarot/PathOutline.cpp b/src/livarot/PathOutline.cpp index e146bb908..1c42301da 100644 --- a/src/livarot/PathOutline.cpp +++ b/src/livarot/PathOutline.cpp @@ -471,8 +471,13 @@ void Path::SubContractOutline(int off, int num_pd, // test de nullité du segment if (IsNulCurve (descr_cmd, curD, curX)) { - stTgt = dest->descr_cmd.size() ? Geom::Point(1, 0) : Geom::Point(-1, 0); // reverse direction - enTgt = stTgt; + if (descr_cmd.size() == 2) { // single point, see LP Bug 1006666 + stTgt = dest->descr_cmd.size() ? Geom::Point(1, 0) : Geom::Point(-1, 0); // reverse direction + enTgt = stTgt; + } else { + curP++; + continue; + } } stNor=stTgt.cw(); enNor=enTgt.cw(); |
