Don't do a full connection database reset on HardRedraw()

Only update the intersheet references to avoid the penalty of
connectivity re-calculations on each redraw

Cherry-picked from b8ee588a76 and 08c2828bd3
This commit is contained in:
Seth Hillbrand 2023-01-23 10:27:27 -08:00
parent b33cf23bda
commit b2a6f12645
1 changed files with 2 additions and 1 deletions

View File

@ -614,7 +614,8 @@ void SCH_EDIT_FRAME::SetCurrentSheet( const SCH_SHEET_PATH& aSheet )
void SCH_EDIT_FRAME::HardRedraw() void SCH_EDIT_FRAME::HardRedraw()
{ {
RecalculateConnections( LOCAL_CLEANUP ); if( Schematic().Settings().m_IntersheetRefsShow )
RecomputeIntersheetRefs();
FocusOnItem( nullptr ); FocusOnItem( nullptr );