Commit 000554f
Merge branch '2.10'
Changed files (2)
Diff
@@ -184,6 +184,8 @@ public class Glyph : FontDisplay { 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 ();@@ -44,7 +44,9 @@ public class Layer : GLib.Object { 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 @@ public class Layer : GLib.Object { layer.name = name; layer.paths = paths.copy ();+ layer.visible = visible;+ foreach (Layer l in subgroups) { layer.subgroups.add (l.copy ()); }