From 8f07da7953f0cebd3e25ab44f984b3b2f4eb6599 Mon Sep 17 00:00:00 2001 From: Russell Oliver Date: Sun, 4 Feb 2018 13:15:10 +1100 Subject: [PATCH] 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 --- pcbnew/eagle_plugin.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/pcbnew/eagle_plugin.cpp b/pcbnew/eagle_plugin.cpp index 9101684acc..254ae789c8 100644 --- a/pcbnew/eagle_plugin.cpp +++ b/pcbnew/eagle_plugin.cpp @@ -273,7 +273,6 @@ void EAGLE_PLUGIN::init( const PROPERTIES* aProperties ) m_min_via_hole = 0; m_xpath->clear(); m_pads_to_nets.clear(); - m_templates.clear(); m_board = NULL; m_props = aProperties;