From 2d9385b43a52a05ec237e06f2980e1f26f80b100 Mon Sep 17 00:00:00 2001 From: Wayne Stambaugh Date: Fri, 13 Dec 2013 18:14:30 -0500 Subject: [PATCH] Make old behavior the default in EnumerateFootprint() changes. --- pcbnew/gpcb_plugin.cpp | 2 +- pcbnew/kicad_plugin.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pcbnew/gpcb_plugin.cpp b/pcbnew/gpcb_plugin.cpp index 7115561959..7585aad4f9 100644 --- a/pcbnew/gpcb_plugin.cpp +++ b/pcbnew/gpcb_plugin.cpp @@ -893,7 +893,7 @@ wxArrayString GPCB_PLUGIN::FootprintEnumerate( const wxString& aLibraryPath, init( aProperties ); -#if 0 // Set to 0 to only read directory contents, not load cache. +#if 1 // Set to 0 to only read directory contents, not load cache. cacheLib( aLibraryPath ); const MODULE_MAP& mods = m_cache->GetModules(); diff --git a/pcbnew/kicad_plugin.cpp b/pcbnew/kicad_plugin.cpp index 65bd8453ae..5a2caa377b 100644 --- a/pcbnew/kicad_plugin.cpp +++ b/pcbnew/kicad_plugin.cpp @@ -1703,7 +1703,7 @@ wxArrayString PCB_IO::FootprintEnumerate( const wxString& aLibraryPath, init( aProperties ); -#if 0 // Set to 0 to only read directory contents, not load cache. +#if 1 // Set to 0 to only read directory contents, not load cache. cacheLib( aLibraryPath ); const MODULE_MAP& mods = m_cache->GetModules();