The Birdfont Source Code


All Repositories / birdfont.git / commit – RSS feed

Don't select points in other layers

These changes was commited to the Birdfont repository Sun, 21 Jun 2015 11:56:55 +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>
Sun, 21 Jun 2015 11:56:55 +0000 (13:56 +0200)
committer Johan Mattsson <johan.mattsson.m@gmail.com>
Sun, 21 Jun 2015 11:56:55 +0000 (13:56 +0200)
commit ec83442fdd70ad7ea0e61b0d3116c505c780d164
tree 285e28f85fc099141eb5f21dec25a51adfe8156e
parent 3aa1e1cfb08f95cbd278cfd48a7765ab00c10fa2
Don't select points in other layers

libbirdfont/PenTool.vala
--- a/libbirdfont/PenTool.vala +++ b/libbirdfont/PenTool.vala @@ -303,7 +303,7 @@ remove_all_selected_points (); - foreach (Path p in g.get_visible_paths ()) { + foreach (Path p in g.get_paths_in_current_layer ()) { // TODO: Select path only of bounding box is in selection box foreach (EditPoint ep in p.points) { if (x1 <= ep.x <= x2 && y2 <= ep.y <= y1) {