Improve performance & responsiveness of sim updates.
The x-axis only needs to be fetched once per update. Same for redrawing the screen. And there's no reason to fetch more y data than we have x data for (which happens to subsequent traces as the sim is still running as we're updating). Fixes https://gitlab.com/kicad/code/kicad/-/issues/15673
This commit is contained in:
@@ -913,8 +913,6 @@ void SIM_PLOT_TAB::SetTraceData( TRACE* trace, std::vector<double>& aX, std::vec
|
||||
if( cursor )
|
||||
cursor->SetCoordX( cursor->GetCoords().x );
|
||||
}
|
||||
|
||||
m_plotWin->UpdateAll();
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user