• Maciej Suminski's avatar
    Moved NETCLASSES to BOARD_DESIGN_SETTINGS. · d9eb15c9
    Maciej Suminski authored
    Most of the changes are just adding GetDesignSettings() before every occurence of m_NetClasses.
    More complex changes:
    class_netclass.cpp - NETCLASS does not store the pointer to the parent BOARD anymore. Added function SetParams( BOARD_DESIGN_SETTINGS& ).
    class_netclass.h - Removed GetTrackMinWidth(), GetViaMinDiameter(), GetViaMinDrill(), GetuViaMinDiameter(), GetuViaMinDrill() as they were refering to BOARD_DESIGN_SETTINGS anyway (they are not net class specific).
    kicad_plugin.cpp - filters out empty nets (that are anyway not saved) when storing net class information. Previously it was done in NETCLASS::Format() function.
    d9eb15c9
files.cpp 24.3 KB