Fix empty footprints when using Eagle libraries

This removes a line that deletes the templates created from the eagle
library every time EAGLE_PLUGIN::init( const PROPERTIES* aProperties )
is called, which seems quite often. The templates are deleted though if
the library path for the plugin is changed or the file has been
modified.

Fixes: lp:1731802
* https://bugs.launchpad.net/kicad/+bug/1731802
This commit is contained in:
Russell Oliver 2018-02-04 13:15:10 +11:00 committed by Maciej Suminski
parent e0f7958dbd
commit 8f07da7953
1 changed files with 0 additions and 1 deletions

View File

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