Pad ratsnest settings initial value
Pad ratsnest settings set to global settings during initilization. Fixes: lp:1848488 * https://bugs.launchpad.net/kicad/+bug/1848488
This commit is contained in:
parent
81020e8824
commit
29ce76b4e4
|
@ -149,6 +149,11 @@ MODULE* BOARD_NETLIST_UPDATER::addNewComponent( COMPONENT* aComponent )
|
|||
aComponent->GetFPID().Format().wx_str() );
|
||||
m_reporter->Report( msg, REPORTER::RPT_ACTION );
|
||||
|
||||
// Set the pads ratsnest settings to the global settings
|
||||
bool set_ratsnest = ((PCB_DISPLAY_OPTIONS*)m_frame->GetDisplayOptions())->m_ShowGlobalRatsnest;
|
||||
for ( auto pad : footprint->Pads() )
|
||||
pad->SetLocalRatsnestVisible( set_ratsnest );
|
||||
|
||||
m_newFootprintsCount++;
|
||||
|
||||
if( !m_isDryRun )
|
||||
|
|
Loading…
Reference in New Issue