Browse Source

Even the orphaned net must obey the min board clearance.

(And other Default netclass constraints.)
jobs
Jeff Young 1 year ago
parent
commit
4601503660
  1. 3
      eeschema/sch_edit_frame.cpp

3
eeschema/sch_edit_frame.cpp

@ -803,8 +803,9 @@ void SCH_EDIT_FRAME::AddCopyForRepeatItem( const SCH_ITEM* aItem )
{
std::unique_ptr<SCH_ITEM> repeatItem( static_cast<SCH_ITEM*>( aItem->Duplicate() ) );
// Clone() preserves the flags, we want 'em cleared.
// Clone() preserves the flags & parent, we want 'em cleared.
repeatItem->ClearFlags();
repeatItem->SetParent( nullptr );
m_items_to_repeat.emplace_back( std::move( repeatItem ) );
}

Loading…
Cancel
Save