The Birdfont Source Code


All Repositories / birdfont.git / commit – 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
author Johan Mattsson <johan.mattsson.m@gmail.com>
Sat, 15 Aug 2015 13:11:13 +0000 (15:11 +0200)
committer Johan Mattsson <johan.mattsson.m@gmail.com>
Sat, 15 Aug 2015 13:11:13 +0000 (15:11 +0200)
commit e8536e2a8eb678e72406d4ab2fecda2b475c833d
tree 960258569b616d8101359d7c48a6cd87054c0214
parent 2b810480a92b0ed591e3ceebf18fba19a0114b7f
Merge multiple paths at the same time

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; }