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:28:29 -08:00
parent b33cf23bda
commit b2a6f12645
+2 -1
View File
@@ -614,7 +614,8 @@ void SCH_EDIT_FRAME::SetCurrentSheet( const SCH_SHEET_PATH& aSheet )
void SCH_EDIT_FRAME::HardRedraw()
{
RecalculateConnections( LOCAL_CLEANUP );
if( Schematic().Settings().m_IntersheetRefsShow )
RecomputeIntersheetRefs();
FocusOnItem( nullptr );