Fixup code to determine whether we draw pins/vias on a given layerpcb+gl/fixup-code-to-determine
commitb27f59dbd194eab90ff0895e716070438e57dc78
authorPeter Clifton <peter@clifton-electronics.co.uk>
Sun, 4 Dec 2016 19:20:03 +0000 (4 19:20 +0000)
committerPeter Clifton <peter@clifton-electronics.co.uk>
Sun, 4 Dec 2016 19:20:03 +0000 (4 19:20 +0000)
treec1ee2a0fc4e3fd3ddbfb973050604b30042a9aae
parent2407918cc7da30618ba57e46a433dc3268ac69da
Fixup code to determine whether we draw pins/vias on a given layer

The net change of this patch is that we consider whether to draw pins/vias
for each layer within the layer group. Previously, if we encoundered a layer
named "outline" or "route" within the layer group, all _subsequent_ layers
within that group would not have their pins/vias rendered.

As ordering of the layers within the group should not be important like this,
change behaviour to apply test on a per-layer basis.
src/hid/gtk/gtkhid-gl.c