mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-27 02:55:44 +08:00
Ref T296, scenery offset disabled as per default (experimental)
This commit is contained in:
@@ -11,8 +11,10 @@
|
|||||||
#include "blackmisc/network/client.h"
|
#include "blackmisc/network/client.h"
|
||||||
#include "blackmisc/stringutils.h"
|
#include "blackmisc/stringutils.h"
|
||||||
#include "blackmisc/verify.h"
|
#include "blackmisc/verify.h"
|
||||||
|
#include "blackconfig/buildconfig.h"
|
||||||
#include <QStringBuilder>
|
#include <QStringBuilder>
|
||||||
|
|
||||||
|
using namespace BlackConfig;
|
||||||
using namespace BlackMisc::Aviation;
|
using namespace BlackMisc::Aviation;
|
||||||
using namespace BlackMisc::PhysicalQuantities;
|
using namespace BlackMisc::PhysicalQuantities;
|
||||||
using namespace BlackMisc::Network;
|
using namespace BlackMisc::Network;
|
||||||
@@ -22,7 +24,9 @@ namespace BlackMisc
|
|||||||
namespace Simulation
|
namespace Simulation
|
||||||
{
|
{
|
||||||
CInterpolationAndRenderingSetupBase::CInterpolationAndRenderingSetupBase()
|
CInterpolationAndRenderingSetupBase::CInterpolationAndRenderingSetupBase()
|
||||||
{ }
|
{
|
||||||
|
m_fixSceneryOffset = CBuildConfig::isLocalDeveloperDebugBuild();
|
||||||
|
}
|
||||||
|
|
||||||
bool CInterpolationAndRenderingSetupBase::setSendingGndFlagToSimulator(bool sendFLag)
|
bool CInterpolationAndRenderingSetupBase::setSendingGndFlagToSimulator(bool sendFLag)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -126,7 +126,7 @@ namespace BlackMisc
|
|||||||
bool m_forceVtolInterpolation = false; //!< always do a full interpolation, even if aircraft is not moving
|
bool m_forceVtolInterpolation = false; //!< always do a full interpolation, even if aircraft is not moving
|
||||||
bool m_enabledAircraftParts = true; //!< Enable aircraft parts
|
bool m_enabledAircraftParts = true; //!< Enable aircraft parts
|
||||||
bool m_sendGndToSim = true; //!< Send the gnd.flag to simulator
|
bool m_sendGndToSim = true; //!< Send the gnd.flag to simulator
|
||||||
bool m_fixSceneryOffset = true; //!< Fix. scenery offset
|
bool m_fixSceneryOffset = false; //!< Fix. scenery offset
|
||||||
int m_interpolatorMode = static_cast<int>(Spline); //!< interpolator mode (spline, ...)
|
int m_interpolatorMode = static_cast<int>(Spline); //!< interpolator mode (spline, ...)
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user