Eeschema: Add option to show unconnected wire crossings as hop-overs.

This commit is contained in:
Dhineshkumar S
2025-06-15 16:53:40 +02:00
committed by jean-pierre charras
parent b621e0ccf5
commit f650999004
10 changed files with 229 additions and 14 deletions
+14
View File
@@ -463,6 +463,20 @@ void SCH_COMMIT::pushSchEdit( const wxString& aMessage, int aCommitFlags )
void SCH_COMMIT::Push( const wxString& aMessage, int aCommitFlags )
{
SCH_EDIT_FRAME* frame = static_cast<SCH_EDIT_FRAME*>( m_toolMgr->GetToolHolder() );
for( COMMIT_LINE& ent : m_changes )
{
SCH_ITEM* schCopyItem = dynamic_cast<SCH_ITEM*>( ent.m_copy );
SCH_ITEM* schItem = dynamic_cast<SCH_ITEM*>( ent.m_item );
if( schCopyItem && schCopyItem->Type() == SCH_LINE_T )
frame->UpdateHopOveredWires( schCopyItem );
if( schItem && schItem->Type() == SCH_LINE_T )
frame->UpdateHopOveredWires( schItem );
}
if( m_isLibEditor )
pushLibEdit( aMessage, aCommitFlags );
else