The Birdfont Source Code


All Repositories / birdfont.git / blobdiff – RSS feed

Merge branch '2.10'

Changes made to libbirdfont/Layer.vala

Contributing

Send patches or pull requests to johan.mattsson.m@gmail.com.
Clone this repository: git clone https://github.com/johanmattssonm/birdfont.git
--- libbirdfont/Layer.vala +++ 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 ()); }