Remove function GetGroupOfLayer, use GetLayerGroupNumberByNumber() instead.
commit790acb69296c7a3732b65c8039037c9828d40253
authorPeter Clifton <peter@clifton-electronics.co.uk>
Thu, 3 Jul 2014 22:55:10 +0000 (3 23:55 +0100)
committerPeter Clifton <peter@clifton-electronics.co.uk>
Thu, 3 Jul 2014 23:13:12 +0000 (4 00:13 +0100)
tree335a2f78373be086fd66a0e2575abc98c405220e
parent4d8cedcc401d6c119a81ed391165afa8cb217401
Remove function GetGroupOfLayer, use GetLayerGroupNumberByNumber() instead.

These functions are virtually identical, the only difference being special-case
handling in the deleted function to force returning max_group if passed layer
number "max_copper_layer".

This actually (as it happens), corresponds to the bottom silk layer, and this
handling is suspect at best. GetLayerGroupNumberByNumber() will return the
group corresponding to the bottom of the board (whichever that may be).
src/line.c
src/misc.c
src/misc.h