The Birdfont Source Code


All Repositories / birdfont.git / commitdiff – RSS feed

Update boundaries after undo

These changes was commited to the Birdfont repository Tue, 10 Jan 2017 19:06:11 +0000.

Contributing

Send patches or pull requests to johan.mattsson.m@gmail.com.
Clone this repository: git clone https://github.com/johanmattssonm/birdfont.git
[Tue, 10 Jan 2017 19:06:11 +0000]

Updated Files

libbirdfont/Glyph.vala
--- a/libbirdfont/Glyph.vala +++ b/libbirdfont/Glyph.vala @@ -1813,6 +1813,7 @@ undo_list.remove_at (undo_list.size - 1); DrawingTools.update_layers (); + PenTool.update_selected_points (); clear_active_paths (); @@ -1865,6 +1866,11 @@ clear_active_paths (); foreach (SvgBird.Object p in g.active_paths) { add_active_object (p); + } + + PathList pl = LayerUtils.get_all_paths (layers); + foreach (Path path in pl.paths) { + path.update_region_boundaries (); } redraw_area (0, 0, allocation.width, allocation.height);