mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-04 08:36:52 +08:00
Ref T261, adjusted interpolation setup
* removed "IndexEnableGndFlag" as this is actually part of FSD network settings * renamed to "isForcingVtolInterpolation" * adjusted interpolator, and UI for setup
This commit is contained in:
@@ -40,8 +40,7 @@ namespace BlackGui
|
||||
ui->cb_DebugDriver->setChecked(setup.showSimulatorDebugMessages());
|
||||
ui->cb_LogInterpolation->setChecked(setup.logInterpolation());
|
||||
ui->cb_EnableParts->setChecked(setup.isAircraftPartsEnabled());
|
||||
ui->cb_ForceFullInterpolation->setChecked(setup.isForcingFullInterpolation());
|
||||
ui->cb_EnableGndFlag->setChecked(setup.isGndFlagEnabled());
|
||||
ui->cb_ForceVtolInterpolation->setChecked(setup.isForcingVtolInterpolation());
|
||||
ui->cb_SendGndFlagToSim->setChecked(setup.isSendingGndFlagToSimulator());
|
||||
ui->cb_FixSceneryOffset->setChecked(setup.isFixingSceneryOffset());
|
||||
|
||||
@@ -54,8 +53,7 @@ namespace BlackGui
|
||||
{
|
||||
CInterpolationAndRenderingSetupPerCallsign setup;
|
||||
setup.setEnabledAircraftParts(ui->cb_EnableParts->isChecked());
|
||||
setup.setEnabledGndFLag(ui->cb_EnableGndFlag->isChecked());
|
||||
setup.setForceFullInterpolation(ui->cb_ForceFullInterpolation->isChecked());
|
||||
setup.setForceVtolInterpolation(ui->cb_ForceVtolInterpolation->isChecked());
|
||||
setup.setLogInterpolation(ui->cb_LogInterpolation->isChecked());
|
||||
setup.setSendingGndFlagToSimulator(ui->cb_SendGndFlagToSim->isChecked());
|
||||
setup.setSimulatorDebuggingMessages(ui->cb_DebugDriver->isChecked());
|
||||
@@ -69,8 +67,7 @@ namespace BlackGui
|
||||
CGuiUtility::checkBoxReadOnly(ui->cb_DebugDriver, readonly);
|
||||
CGuiUtility::checkBoxReadOnly(ui->cb_LogInterpolation, readonly);
|
||||
CGuiUtility::checkBoxReadOnly(ui->cb_EnableParts, readonly);
|
||||
CGuiUtility::checkBoxReadOnly(ui->cb_ForceFullInterpolation, readonly);
|
||||
CGuiUtility::checkBoxReadOnly(ui->cb_EnableGndFlag, readonly);
|
||||
CGuiUtility::checkBoxReadOnly(ui->cb_ForceVtolInterpolation, readonly);
|
||||
CGuiUtility::checkBoxReadOnly(ui->cb_SendGndFlagToSim, readonly);
|
||||
CGuiUtility::checkBoxReadOnly(ui->cb_FixSceneryOffset, readonly);
|
||||
ui->co_InterpolatorMode->setEnabled(!readonly);
|
||||
|
||||
Reference in New Issue
Block a user