mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-31 21:15:33 +08:00
refs #796, started to move rendering distance/max.aircraft to CInterpolationAndRenderingSetup
(this will allow to remove a lot of signatures in context/simulator interface)
This commit is contained in:
@@ -169,8 +169,8 @@ namespace BlackGui
|
||||
void CSettingsSimulatorComponent::ps_onApplyMaxRenderedAircraft()
|
||||
{
|
||||
// get initial aircraft to render
|
||||
int noRequested = ui->sb_MaxAircraft->value();
|
||||
int oldValue = sGui->getIContextSimulator()->getMaxRenderedAircraft();
|
||||
const int noRequested = ui->sb_MaxAircraft->value();
|
||||
const int oldValue = sGui->getIContextSimulator()->getMaxRenderedAircraft();
|
||||
if (oldValue == noRequested) { return; }
|
||||
|
||||
// set value
|
||||
|
||||
Reference in New Issue
Block a user