Browse Source

Fix broken CvPcb footprint preview. (fixes lp:1226272)

pull/1/head
Wayne Stambaugh 12 years ago
parent
commit
7de43e4aec
  1. 5
      cvpcb/class_DisplayFootprintsFrame.cpp

5
cvpcb/class_DisplayFootprintsFrame.cpp

@ -476,7 +476,7 @@ EDA_COLOR_T DISPLAY_FOOTPRINTS_FRAME::GetGridColor() const
MODULE* DISPLAY_FOOTPRINTS_FRAME::Get_Module( const wxString& aFootprintName )
{
MODULE* footprint;
MODULE* footprint = NULL;
try
{
@ -550,6 +550,9 @@ MODULE* DISPLAY_FOOTPRINTS_FRAME::Get_Module( const wxString& aFootprintName )
}
footprint = pi->FootprintLoad( libPath, aFootprintName );
if( footprint != NULL )
break;
}
#endif
}

Loading…
Cancel
Save