mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-23 07:15:35 +08:00
refs #863 Each aircraft gets its own interpolator instance,
so each one can cache calculations from one frame to the next. The recent situations and parts are members of the interpolator.
This commit is contained in:
@@ -381,8 +381,9 @@ namespace BlackCore
|
||||
}
|
||||
if (p == "clear" || p == "clr")
|
||||
{
|
||||
this->m_interpolator->clearLog();
|
||||
CStatusMessage(this).info("Cleared interpolation logging");
|
||||
//! \todo refactoring broken by rebase
|
||||
//this->m_interpolator->clearLog();
|
||||
//CStatusMessage(this).info("Cleared interpolation logging");
|
||||
return true;
|
||||
}
|
||||
if (p == "write" || p == "save")
|
||||
@@ -391,8 +392,9 @@ namespace BlackCore
|
||||
this->m_interpolationRenderingSetup.clearInterpolatorLogCallsigns();
|
||||
|
||||
// write
|
||||
this->m_interpolator->writeLogInBackground();
|
||||
CLogMessage(this).info("Started writing interpolation log");
|
||||
//! \todo refactoring broken by rebase
|
||||
//this->m_interpolator->writeLogInBackground();
|
||||
//CLogMessage(this).info("Started writing interpolation log");
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user