Loading pcbnew/ratsnest_data.cpp +1 −1 Original line number Original line Diff line number Diff line Loading @@ -836,7 +836,7 @@ void RN_DATA::Recalculate( int aNet ) updateNet( i ); updateNet( i ); } } } } else // Recompute only specific net else if( aNet > 0 ) // Recompute only specific net { { updateNet( aNet ); updateNet( aNet ); } } Loading pcbnew/router/pns_router.cpp +4 −0 Original line number Original line Diff line number Diff line Loading @@ -49,6 +49,7 @@ #include <class_board_item.h> #include <class_board_item.h> #include <class_pad.h> #include <class_pad.h> #include <class_track.h> #include <class_track.h> #include <ratsnest_data.h> #include <layers_id_colors_and_visibility.h> #include <layers_id_colors_and_visibility.h> // an ugly singleton for drawing debug items within the router context. // an ugly singleton for drawing debug items within the router context. Loading Loading @@ -626,6 +627,7 @@ void PNS_ROUTER::commitRouting( PNS_NODE* aNode ) newBI->ClearFlags(); newBI->ClearFlags(); m_view->Add( newBI ); m_view->Add( newBI ); m_board->Add( newBI ); m_board->Add( newBI ); m_board->GetRatsnest()->Update( static_cast<BOARD_CONNECTED_ITEM*>( newBI ) ); newBI->ViewUpdate( KIGFX::VIEW_ITEM::GEOMETRY ); newBI->ViewUpdate( KIGFX::VIEW_ITEM::GEOMETRY ); } } } } Loading Loading @@ -757,6 +759,8 @@ void PNS_ROUTER::StopRouting() // highlightCurrent(false); // highlightCurrent(false); // Update the ratsnest m_board->GetRatsnest()->Recalculate( m_currentNet ); EraseView(); EraseView(); m_state = IDLE; m_state = IDLE; Loading Loading
pcbnew/ratsnest_data.cpp +1 −1 Original line number Original line Diff line number Diff line Loading @@ -836,7 +836,7 @@ void RN_DATA::Recalculate( int aNet ) updateNet( i ); updateNet( i ); } } } } else // Recompute only specific net else if( aNet > 0 ) // Recompute only specific net { { updateNet( aNet ); updateNet( aNet ); } } Loading
pcbnew/router/pns_router.cpp +4 −0 Original line number Original line Diff line number Diff line Loading @@ -49,6 +49,7 @@ #include <class_board_item.h> #include <class_board_item.h> #include <class_pad.h> #include <class_pad.h> #include <class_track.h> #include <class_track.h> #include <ratsnest_data.h> #include <layers_id_colors_and_visibility.h> #include <layers_id_colors_and_visibility.h> // an ugly singleton for drawing debug items within the router context. // an ugly singleton for drawing debug items within the router context. Loading Loading @@ -626,6 +627,7 @@ void PNS_ROUTER::commitRouting( PNS_NODE* aNode ) newBI->ClearFlags(); newBI->ClearFlags(); m_view->Add( newBI ); m_view->Add( newBI ); m_board->Add( newBI ); m_board->Add( newBI ); m_board->GetRatsnest()->Update( static_cast<BOARD_CONNECTED_ITEM*>( newBI ) ); newBI->ViewUpdate( KIGFX::VIEW_ITEM::GEOMETRY ); newBI->ViewUpdate( KIGFX::VIEW_ITEM::GEOMETRY ); } } } } Loading Loading @@ -757,6 +759,8 @@ void PNS_ROUTER::StopRouting() // highlightCurrent(false); // highlightCurrent(false); // Update the ratsnest m_board->GetRatsnest()->Recalculate( m_currentNet ); EraseView(); EraseView(); m_state = IDLE; m_state = IDLE; Loading