Loading change_log.txt +2 −0 Original line number Original line Diff line number Diff line Loading @@ -10,6 +10,8 @@ email address. ================================================================================ ================================================================================ + pcbnew + pcbnew Read-ability formatting, I am playing with a C++ beautifier called uncrustify. Read-ability formatting, I am playing with a C++ beautifier called uncrustify. I had to patch it and spent 2 days getting it configured. Patch not sent upstream yet. Fixed a bug in "display local ratsnest pad or module": if you had a small Fixed a bug in "display local ratsnest pad or module": if you had a small module and the mouse clicked its reference text, the ratnest for module and the mouse clicked its reference text, the ratnest for the associated module would not show. The work around was to add the associated module would not show. The work around was to add Loading pcbnew/edit.cpp +1 −2 Original line number Original line Diff line number Diff line Loading @@ -126,7 +126,6 @@ void WinEDA_PcbFrame::OnLeftClick( wxDC* DC, const wxPoint& MousePos ) case ID_PCB_SHOW_1_RATSNEST_BUTT: case ID_PCB_SHOW_1_RATSNEST_BUTT: DrawStruct = PcbGeneralLocateAndDisplay(); DrawStruct = PcbGeneralLocateAndDisplay(); if( DrawStruct ) Show_1_Ratsnest( DrawStruct, DC ); Show_1_Ratsnest( DrawStruct, DC ); break; break; Loading pcbnew/editrack-part2.cpp +64 −64 Original line number Original line Diff line number Diff line Loading @@ -300,14 +300,13 @@ void WinEDA_PcbFrame::Show_1_Ratsnest( EDA_BaseStruct* item, wxDC* DC ) if( g_Show_Ratsnest ) if( g_Show_Ratsnest ) return; // Deja Affich� return; // Deja Affich� if( !item ) return; if( (m_Pcb->m_Status_Pcb & LISTE_CHEVELU_OK) == 0 ) if( (m_Pcb->m_Status_Pcb & LISTE_CHEVELU_OK) == 0 ) { { Compile_Ratsnest( DC, TRUE ); Compile_Ratsnest( DC, TRUE ); } } if( item ) { if( item->m_StructType == TYPEPAD ) if( item->m_StructType == TYPEPAD ) { { pt_pad = (D_PAD*) item; pt_pad = (D_PAD*) item; Loading Loading @@ -383,6 +382,7 @@ void WinEDA_PcbFrame::Show_1_Ratsnest( EDA_BaseStruct* item, wxDC* DC ) pt_pad = NULL; pt_pad = NULL; } } } } } /* Effacement complet des selections /* Effacement complet des selections * si aucun pad ou module n'a ete localise */ * si aucun pad ou module n'a ete localise */ Loading Loading
change_log.txt +2 −0 Original line number Original line Diff line number Diff line Loading @@ -10,6 +10,8 @@ email address. ================================================================================ ================================================================================ + pcbnew + pcbnew Read-ability formatting, I am playing with a C++ beautifier called uncrustify. Read-ability formatting, I am playing with a C++ beautifier called uncrustify. I had to patch it and spent 2 days getting it configured. Patch not sent upstream yet. Fixed a bug in "display local ratsnest pad or module": if you had a small Fixed a bug in "display local ratsnest pad or module": if you had a small module and the mouse clicked its reference text, the ratnest for module and the mouse clicked its reference text, the ratnest for the associated module would not show. The work around was to add the associated module would not show. The work around was to add Loading
pcbnew/edit.cpp +1 −2 Original line number Original line Diff line number Diff line Loading @@ -126,7 +126,6 @@ void WinEDA_PcbFrame::OnLeftClick( wxDC* DC, const wxPoint& MousePos ) case ID_PCB_SHOW_1_RATSNEST_BUTT: case ID_PCB_SHOW_1_RATSNEST_BUTT: DrawStruct = PcbGeneralLocateAndDisplay(); DrawStruct = PcbGeneralLocateAndDisplay(); if( DrawStruct ) Show_1_Ratsnest( DrawStruct, DC ); Show_1_Ratsnest( DrawStruct, DC ); break; break; Loading
pcbnew/editrack-part2.cpp +64 −64 Original line number Original line Diff line number Diff line Loading @@ -300,14 +300,13 @@ void WinEDA_PcbFrame::Show_1_Ratsnest( EDA_BaseStruct* item, wxDC* DC ) if( g_Show_Ratsnest ) if( g_Show_Ratsnest ) return; // Deja Affich� return; // Deja Affich� if( !item ) return; if( (m_Pcb->m_Status_Pcb & LISTE_CHEVELU_OK) == 0 ) if( (m_Pcb->m_Status_Pcb & LISTE_CHEVELU_OK) == 0 ) { { Compile_Ratsnest( DC, TRUE ); Compile_Ratsnest( DC, TRUE ); } } if( item ) { if( item->m_StructType == TYPEPAD ) if( item->m_StructType == TYPEPAD ) { { pt_pad = (D_PAD*) item; pt_pad = (D_PAD*) item; Loading Loading @@ -383,6 +382,7 @@ void WinEDA_PcbFrame::Show_1_Ratsnest( EDA_BaseStruct* item, wxDC* DC ) pt_pad = NULL; pt_pad = NULL; } } } } } /* Effacement complet des selections /* Effacement complet des selections * si aucun pad ou module n'a ete localise */ * si aucun pad ou module n'a ete localise */ Loading