Commit 7b155cd
Fix points on points removal in SVG import
Changed files (2)
Diff
@@ -1,5 +1,5 @@ /*- Copyright (C) 2012 2013 2014 2015 Johan Mattsson+ Copyright (C) 2012 - 2016 Johan Mattsson This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as @@ -2313,10 +2313,11 @@ public class Path : GLib.Object { if (points.size == 0) { return; }-+ for (int i = 0; i < points.size + 1; i++) { EditPoint ep = points.get (i % points.size);- if (ep.get_right_handle ().length < t3+ if ((ep.flags & EditPoint.STROKE_OFFSET) > 0+ && ep.get_right_handle ().length < t3 && ep.get_left_handle ().length < t3 && !is_endpoint (ep) && (ep.flags & EditPoint.CURVE_KEEP) == 0@@ -1,5 +1,5 @@ /*- Copyright (C) 2012 2013 2014 2015 Johan Mattsson+ Copyright (C) 2012 - 2016 Johan Mattsson This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as