The Birdfont Source Code


All Repositories / birdfont.git / commit – RSS feed

Merge branch '2.10'

These changes was commited to the Birdfont repository Thu, 18 Jun 2015 21:42:28 +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>
Thu, 18 Jun 2015 21:42:28 +0000 (23:42 +0200)
committer Johan Mattsson <johan.mattsson.m@gmail.com>
Thu, 18 Jun 2015 21:42:28 +0000 (23:42 +0200)
commit 000554f01084c587d5c0ac7a23dddd992d3cb02b
tree 7d968a84ea93a1b03bf6be8bf05402c963445769
parent 8fd62068a0f0c0e0bd9c14e8b76b69db5beff63d
parent 5835b879a54198c6bb89dae6a72f68bb1f32be7a
Merge branch '2.10'

libbirdfont/Glyph.vala
libbirdfont/Layer.vala
--- a/libbirdfont/Glyph.vala +++ b/libbirdfont/Glyph.vala @@ -184,6 +184,8 @@ PathList stroke; pl = new PathList (); + + print (@"$(get_name ()) get_visible_paths (): $(get_visible_paths ().size)\n"); foreach (Path p in get_visible_paths ()) { if (p.stroke > 0) { stroke = p.get_stroke ();
--- a/libbirdfont/Layer.vala +++ b/libbirdfont/Layer.vala @@ -44,7 +44,9 @@ public PathList get_visible_paths () { PathList p = new PathList (); - p.append (paths); + if (visible) { + p.append (paths); + } foreach (Layer sublayer in subgroups) { if (sublayer.visible) { @@ -82,6 +84,8 @@ layer.name = name; layer.paths = paths.copy (); + layer.visible = visible; + foreach (Layer l in subgroups) { layer.subgroups.add (l.copy ()); }