Commit c92e9e93 authored by dickelbeck's avatar dickelbeck
Browse files

minor

parent 2e13ccf0
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -495,7 +495,8 @@ EDA_BaseStruct* BOARD::FindPadOrModule( const wxPoint& refPos, int layer )
    // search only for PADs first, then MODULES, and preferably a layer match
    static const KICAD_T scanTypes[] = { TYPEPAD, TYPEMODULE, EOT };

    IterateForward( m_Modules, &inspector, &refPos, scanTypes );
    // visit this BOARD with the above inspector
    Visit( &inspector, &refPos, scanTypes );
    
    return inspector.found;
}
+1 −1
Original line number Diff line number Diff line
@@ -235,7 +235,7 @@ int WinEDA_PcbFrame::LoadOnePcbFile( const wxString& FullFileName, wxDC* DC, boo
    g_SaveTime = time( NULL );

    
#if 1 && defined(DEBUG) 
#if 0 && defined(DEBUG) 
    // note this seems to freeze up pcbnew when run under the kicad project 
    // manager.  runs fine from command prompt.
    // output the board object tree to stdout: