Loading common/CMakeLists.txt +1 −0 Original line number Diff line number Diff line Loading @@ -117,6 +117,7 @@ set(PCB_COMMON_SRCS ../pcbnew/sel_layer.cpp ../pcbnew/pcb_plot_params.cpp ../pcbnew/io_mgr.cpp ../pcbnew/eagle_plugin.cpp ../pcbnew/legacy_plugin.cpp ../pcbnew/kicad_plugin.cpp pcb_plot_params_keywords.cpp Loading pcbnew/CMakeLists.txt +0 −1 Original line number Diff line number Diff line Loading @@ -110,7 +110,6 @@ set(PCBNEW_SRCS drc.cpp drc_clearance_test_functions.cpp drc_marker_functions.cpp eagle_plugin.cpp edgemod.cpp edit.cpp editedge.cpp Loading pcbnew/class_netinfo.h +1 −1 Original line number Diff line number Diff line Loading @@ -232,7 +232,7 @@ public: unsigned m_RatsnestEndIdx; // Ending point of ratsnests of this net // (excluded) in this buffer NETINFO_ITEM( BOARD_ITEM* aParent ); NETINFO_ITEM( BOARD_ITEM* aParent, const wxString& aNetName = NETCLASS::Default, int aNetCode = 0 ); ~NETINFO_ITEM(); /** Loading pcbnew/class_netinfo_item.cpp +3 −3 Original line number Diff line number Diff line Loading @@ -22,9 +22,9 @@ /* class NETINFO_ITEM: handle data relative to a given net */ /*********************************************************/ NETINFO_ITEM::NETINFO_ITEM( BOARD_ITEM* aParent ) NETINFO_ITEM::NETINFO_ITEM( BOARD_ITEM* aParent, const wxString& aNetName, int aNetCode ) { SetNet( 0 ); SetNet( aNetCode ); m_NbNodes = 0; m_NbLink = 0; m_NbNoconn = 0; Loading @@ -33,7 +33,7 @@ NETINFO_ITEM::NETINFO_ITEM( BOARD_ITEM* aParent ) // general buffer of ratsnest m_RatsnestEndIdx = 0; // Ending point of ratsnests of this net m_NetClassName = NETCLASS::Default; m_NetClassName = aNetName; m_NetClass = 0; } Loading pcbnew/class_netinfolist.cpp +5 −5 Original line number Diff line number Diff line Loading @@ -82,7 +82,7 @@ void NETINFO_LIST::buildListOfNets() // Create and add the "unconnected net", always existing, // used to handle pads and tracks that are not member of a "real" net net_item = new NETINFO_ITEM( (BOARD_ITEM*) m_Parent ); net_item = new NETINFO_ITEM( m_Parent ); AppendNet( net_item ); // Build the PAD list, sorted by net Loading @@ -108,15 +108,15 @@ void NETINFO_LIST::buildListOfNets() if( last_pad == NULL || ( pad->GetNetname() != last_pad->GetNetname() ) ) { netcode++; net_item = new NETINFO_ITEM( (BOARD_ITEM*)m_Parent ); net_item->SetNet( netcode ); net_item->SetNetname( pad->GetNetname() ); net_item = new NETINFO_ITEM( m_Parent, pad->GetNetname(), netcode ); AppendNet( net_item ); } pad->SetNet( netcode ); net_item->m_PadInNetList.push_back( pad ); nodes_count++; last_pad = pad; } Loading Loading
common/CMakeLists.txt +1 −0 Original line number Diff line number Diff line Loading @@ -117,6 +117,7 @@ set(PCB_COMMON_SRCS ../pcbnew/sel_layer.cpp ../pcbnew/pcb_plot_params.cpp ../pcbnew/io_mgr.cpp ../pcbnew/eagle_plugin.cpp ../pcbnew/legacy_plugin.cpp ../pcbnew/kicad_plugin.cpp pcb_plot_params_keywords.cpp Loading
pcbnew/CMakeLists.txt +0 −1 Original line number Diff line number Diff line Loading @@ -110,7 +110,6 @@ set(PCBNEW_SRCS drc.cpp drc_clearance_test_functions.cpp drc_marker_functions.cpp eagle_plugin.cpp edgemod.cpp edit.cpp editedge.cpp Loading
pcbnew/class_netinfo.h +1 −1 Original line number Diff line number Diff line Loading @@ -232,7 +232,7 @@ public: unsigned m_RatsnestEndIdx; // Ending point of ratsnests of this net // (excluded) in this buffer NETINFO_ITEM( BOARD_ITEM* aParent ); NETINFO_ITEM( BOARD_ITEM* aParent, const wxString& aNetName = NETCLASS::Default, int aNetCode = 0 ); ~NETINFO_ITEM(); /** Loading
pcbnew/class_netinfo_item.cpp +3 −3 Original line number Diff line number Diff line Loading @@ -22,9 +22,9 @@ /* class NETINFO_ITEM: handle data relative to a given net */ /*********************************************************/ NETINFO_ITEM::NETINFO_ITEM( BOARD_ITEM* aParent ) NETINFO_ITEM::NETINFO_ITEM( BOARD_ITEM* aParent, const wxString& aNetName, int aNetCode ) { SetNet( 0 ); SetNet( aNetCode ); m_NbNodes = 0; m_NbLink = 0; m_NbNoconn = 0; Loading @@ -33,7 +33,7 @@ NETINFO_ITEM::NETINFO_ITEM( BOARD_ITEM* aParent ) // general buffer of ratsnest m_RatsnestEndIdx = 0; // Ending point of ratsnests of this net m_NetClassName = NETCLASS::Default; m_NetClassName = aNetName; m_NetClass = 0; } Loading
pcbnew/class_netinfolist.cpp +5 −5 Original line number Diff line number Diff line Loading @@ -82,7 +82,7 @@ void NETINFO_LIST::buildListOfNets() // Create and add the "unconnected net", always existing, // used to handle pads and tracks that are not member of a "real" net net_item = new NETINFO_ITEM( (BOARD_ITEM*) m_Parent ); net_item = new NETINFO_ITEM( m_Parent ); AppendNet( net_item ); // Build the PAD list, sorted by net Loading @@ -108,15 +108,15 @@ void NETINFO_LIST::buildListOfNets() if( last_pad == NULL || ( pad->GetNetname() != last_pad->GetNetname() ) ) { netcode++; net_item = new NETINFO_ITEM( (BOARD_ITEM*)m_Parent ); net_item->SetNet( netcode ); net_item->SetNetname( pad->GetNetname() ); net_item = new NETINFO_ITEM( m_Parent, pad->GetNetname(), netcode ); AppendNet( net_item ); } pad->SetNet( netcode ); net_item->m_PadInNetList.push_back( pad ); nodes_count++; last_pad = pad; } Loading