The Birdfont Source Code


All Repositories / birdfont.git / commitdiff – RSS feed

Merge multiple paths at the same time

These changes was commited to the Birdfont repository Sat, 15 Aug 2015 13:11:13 +0000.

Contributing

Send patches or pull requests to johan.mattsson.m@gmail.com.
Clone this repository: git clone https://github.com/johanmattssonm/birdfont.git
[Sat, 15 Aug 2015 13:11:13 +0000]

Updated Files

libbirdfont/StrokeTool.vala
--- a/libbirdfont/StrokeTool.vala +++ b/libbirdfont/StrokeTool.vala @@ -153,7 +153,12 @@ new_paths.remove (p1); new_paths.remove (p2); - + + o.remove (p1); + o.remove (p2); + + o.append (r); + i = 0; j = 0; } @@ -392,6 +397,9 @@ foreach (Path p in parts.paths) { reset_intersections (p); } + + reset_intersections (path1); + reset_intersections (path2); return parts; }