mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-03 15:45:46 +08:00
refs #796, allow to toggle full interpolation
* add setup class, metadata registration, property index ... * removed enableDebugMessages, added setInterpolatorSetup * adjusted contexts * used in interolator
This commit is contained in:
@@ -314,10 +314,10 @@ namespace BlackCore
|
||||
return !m_maxRenderedDistance.isNull();
|
||||
}
|
||||
|
||||
void CSimulatorCommon::enableDebugMessages(bool driverMessages, bool interpolatorMessages)
|
||||
void CSimulatorCommon::setInterpolationAndRenderingSetup(const CInterpolationAndRenderingSetup &setup)
|
||||
{
|
||||
this->m_debugMessages = driverMessages;
|
||||
Q_UNUSED(interpolatorMessages);
|
||||
this->m_interpolationRenderingSetup = setup;
|
||||
this->m_interpolator->setInterpolatorSetup(setup);
|
||||
}
|
||||
|
||||
void CSimulatorCommon::highlightAircraft(const BlackMisc::Simulation::CSimulatedAircraft &aircraftToHighlight, bool enableHighlight, const BlackMisc::PhysicalQuantities::CTime &displayTime)
|
||||
|
||||
Reference in New Issue
Block a user