Browse Source

Do not destroy the footprint cache in EAGLE_PLUGIN init

EAGLE_PLUGIN::init() is called every time the footprints are enumerated,
so it is incorrect to destroy the cache there.
pull/7/merge
Maciej Suminski 8 years ago
parent
commit
90668f9efb
  1. 2
      pcbnew/eagle_plugin.cpp

2
pcbnew/eagle_plugin.cpp

@ -272,7 +272,7 @@ void EAGLE_PLUGIN::init( const PROPERTIES* aProperties )
m_min_via_hole = 0;
m_xpath->clear();
m_pads_to_nets.clear();
deleteTemplates();
m_templates.clear();
m_board = NULL;
m_props = aProperties;

Loading…
Cancel
Save