summaryrefslogtreecommitdiffstats
path: root/src/livarot/PathCutting.cpp
diff options
context:
space:
mode:
authorAlvin Penner <penner@vaxxine.com>2013-02-16 21:33:38 +0000
committerapenner <penner@vaxxine.com>2013-02-16 21:33:38 +0000
commitff80d69f2618b2604b62738907e0b3cfb1e4409f (patch)
tree355cc6feb8785ef992b084323b6408b0eaa67ae2 /src/livarot/PathCutting.cpp
parentSelection based on font-family via icon in text-toolbar font-family entry box. (diff)
downloadinkscape-ff80d69f2618b2604b62738907e0b3cfb1e4409f.tar.gz
inkscape-ff80d69f2618b2604b62738907e0b3cfb1e4409f.zip
Path->Cut Path loses segments (Bug 166302)
Fixed bugs: - https://launchpad.net/bugs/166302 (bzr r12130)
Diffstat (limited to 'src/livarot/PathCutting.cpp')
-rw-r--r--src/livarot/PathCutting.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/livarot/PathCutting.cpp b/src/livarot/PathCutting.cpp
index 9e6226ccc..848d8daa8 100644
--- a/src/livarot/PathCutting.cpp
+++ b/src/livarot/PathCutting.cpp
@@ -1126,6 +1126,8 @@ void Path::ConvertPositionsToForced(int nbPos, cut_position *poss)
}
}
}
+ if (descr_cmd[0]->getType() == descr_moveto)
+ descr_flags |= descr_doing_subpath; // see LP Bug 166302
qsort(poss, nbPos, sizeof(cut_position), CmpPosition);