From ff80d69f2618b2604b62738907e0b3cfb1e4409f Mon Sep 17 00:00:00 2001 From: Alvin Penner Date: Sat, 16 Feb 2013 16:33:38 -0500 Subject: Path->Cut Path loses segments (Bug 166302) Fixed bugs: - https://launchpad.net/bugs/166302 (bzr r12130) --- src/livarot/PathCutting.cpp | 2 ++ 1 file changed, 2 insertions(+) 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); -- cgit v1.2.3