diff options
| author | Alvin Penner <penner@vaxxine.com> | 2013-02-22 13:40:57 +0000 |
|---|---|---|
| committer | apenner <penner@vaxxine.com> | 2013-02-22 13:40:57 +0000 |
| commit | 9683c4e36d15967f3dfab5d40257a303f863a392 (patch) | |
| tree | 7bdd9c94c7019e7972902b377fede88243b2b985 /src | |
| parent | Bug 1111459: revert changes from r12012 (regressions affect normal usage more... (diff) | |
| download | inkscape-9683c4e36d15967f3dfab5d40257a303f863a392.tar.gz inkscape-9683c4e36d15967f3dfab5d40257a303f863a392.zip | |
Path->Division. patch for case where cutter is a line (Bug 177956)
Fixed bugs:
- https://launchpad.net/bugs/177956
(bzr r12138)
Diffstat (limited to 'src')
| -rw-r--r-- | src/splivarot.cpp | 5 |
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 |
