mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-01 21:56:43 +08:00
refs #391, allow to send aircraft parts from GUI
* GUI component for aircraft parts * remote aircraft selector component * Adjusted GUI for internals component * Enable / disable debug messages from GUI * Allow to init engines directly * Removed unused async sort in sequence In same step fixed found issues in interpolator * allow to set max rendered aircraft
This commit is contained in:
@@ -242,16 +242,6 @@ namespace BlackSimPlugin
|
||||
return empty;
|
||||
}
|
||||
|
||||
int CSimulatorFsCommon::getMaxRenderedAircraft() const
|
||||
{
|
||||
return this->m_maxRenderedAircraft;
|
||||
}
|
||||
|
||||
void CSimulatorFsCommon::setMaxRenderedAircraft(int maxRenderedAircraft)
|
||||
{
|
||||
this->m_maxRenderedAircraft = maxRenderedAircraft;
|
||||
}
|
||||
|
||||
bool CSimulatorFsCommon::changeRemoteAircraftModel(const CSimulatedAircraft &aircraft, const QString &originator)
|
||||
{
|
||||
if (originator == simulatorOriginator()) { return false; }
|
||||
@@ -275,5 +265,14 @@ namespace BlackSimPlugin
|
||||
return true;
|
||||
}
|
||||
|
||||
void CSimulatorFsCommon::enableDebugMessages(bool driver, bool interpolator)
|
||||
{
|
||||
if (this->m_interpolator)
|
||||
{
|
||||
this->m_interpolator->enableDebugMessages(interpolator);
|
||||
}
|
||||
CSimulatorCommon::enableDebugMessages(driver, interpolator);
|
||||
}
|
||||
|
||||
} // namespace
|
||||
} // namespace
|
||||
|
||||
Reference in New Issue
Block a user