mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-23 07:15:35 +08:00
Ref T260, correctly set simulation environment provider
This commit is contained in:
committed by
Roland Winklmeier
parent
056c257182
commit
dcc348c9d9
@@ -220,6 +220,12 @@ namespace BlackCore
|
||||
c = connect(this->getCContextSimulator(), &CContextSimulator::renderRestrictionsChanged,
|
||||
this->getCContextNetwork(), &CContextNetwork::xCtxSimulatorRenderRestrictionsChanged);
|
||||
Q_ASSERT(c);
|
||||
c = connect(this->getCContextSimulator(), &CContextSimulator::simulatorStatusChanged,
|
||||
this->getCContextNetwork(), &CContextNetwork::xCtxSimulatorStatusChanged);
|
||||
Q_ASSERT(c);
|
||||
|
||||
// set provider
|
||||
this->getCContextNetwork()->setSimulationEnvironmentProvider(this->getCContextSimulator()->simulator());
|
||||
}
|
||||
|
||||
// only if own aircraft runs locally
|
||||
|
||||
Reference in New Issue
Block a user