Fixed an issue (footprint name not read from netlist) when using a netlist without the corresponding .cmp file.
This commit is contained in:
parent
0173e61d2c
commit
a5c06c224b
|
@ -457,8 +457,8 @@ MODULE* ReadNetModule( WinEDA_PcbFrame* aFrame,
|
|||
{
|
||||
if( TstOnly != TESTONLY )
|
||||
{
|
||||
NameLibCmp = TextNameLibMod;
|
||||
if( *UseFichCmp )
|
||||
NameLibCmp = TextNameLibMod; // Use footprint name from netlist
|
||||
if( *UseFichCmp ) // Try to get footprint name from .cmp file
|
||||
{
|
||||
if( aSelect_By_Timestamp )
|
||||
{
|
||||
|
@ -515,7 +515,8 @@ is [%s] and netlist said [%s]\n" ),
|
|||
|
||||
if( Module == NULL ) /* a new module must be loaded from libs */
|
||||
{
|
||||
if( *UseFichCmp )
|
||||
NameLibCmp = TextNameLibMod; // Use footprint name from netlist
|
||||
if( *UseFichCmp ) // Try to get footprint name from .cmp file
|
||||
{
|
||||
if( aSelect_By_Timestamp == 1 )
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue