Browse Source

Fix field greater than 2 legacy footprint library file parser bug. (fixes lp:1375419)

pull/1/head
Wayne Stambaugh 11 years ago
parent
commit
7c747c1a44
  1. 4
      pcbnew/legacy_plugin.cpp

4
pcbnew/legacy_plugin.cpp

@ -1233,8 +1233,8 @@ void LEGACY_PLUGIN::loadMODULE( MODULE* aModule )
textm = &aModule->Value();
break;
case TEXTE_MODULE::TEXT_is_DIVERS:
// text is a drawing
// All other fields greater than 1.
default:
textm = new TEXTE_MODULE( aModule );
aModule->GraphicalItems().PushBack( textm );
}

Loading…
Cancel
Save