summaryrefslogtreecommitdiffstats
path: root/src/splivarot.cpp
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2013-03-03 22:17:21 +0000
committerJabiertxo Arraiza Zenotz <jtx@jtx.marker.es>2013-03-03 22:17:21 +0000
commitf5f95da9b90081aadaf4f939a5fd8512ecd941b7 (patch)
tree9be295ce3ab7727c41a1fe00ce00317b8d9ebc8c /src/splivarot.cpp
parentBSpline refactor (diff)
parentUpdate from branch (diff)
downloadinkscape-f5f95da9b90081aadaf4f939a5fd8512ecd941b7.tar.gz
inkscape-f5f95da9b90081aadaf4f939a5fd8512ecd941b7.zip
Spiro refactor
(bzr r11950.1.42)
Diffstat (limited to 'src/splivarot.cpp')
-rw-r--r--src/splivarot.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/splivarot.cpp b/src/splivarot.cpp
index 7cbd92eeb..8ce9a012b 100644
--- a/src/splivarot.cpp
+++ b/src/splivarot.cpp
@@ -307,7 +307,10 @@ sp_selected_path_boolop(SPDesktop *desktop, bool_op bop, const unsigned int verb
originaux[1]->ConvertWithBackData(1.0);
- originaux[1]->Fill(theShape, 1,false,false,false); //do not closeIfNeeded
+ if ((originaux[1]->pts.size() == 2) && originaux[1]->pts[0].isMoveTo && !originaux[1]->pts[1].isMoveTo)
+ originaux[1]->Fill(theShape, 1,false,true,false); // see LP Bug 177956
+ else
+ originaux[1]->Fill(theShape, 1,false,false,false); //do not closeIfNeeded
theShapeB->ConvertToShape(theShape, fill_justDont); // fill_justDont doesn't computes winding numbers