Ref T296, scenery offset disabled as per default (experimental)

This commit is contained in:
Klaus Basan
2018-07-30 00:10:37 +02:00
parent 4fef6fe0b2
commit 6c55ee617f
2 changed files with 6 additions and 2 deletions

View File

@@ -11,8 +11,10 @@
#include "blackmisc/network/client.h"
#include "blackmisc/stringutils.h"
#include "blackmisc/verify.h"
#include "blackconfig/buildconfig.h"
#include <QStringBuilder>
using namespace BlackConfig;
using namespace BlackMisc::Aviation;
using namespace BlackMisc::PhysicalQuantities;
using namespace BlackMisc::Network;
@@ -22,7 +24,9 @@ namespace BlackMisc
namespace Simulation
{
CInterpolationAndRenderingSetupBase::CInterpolationAndRenderingSetupBase()
{ }
{
m_fixSceneryOffset = CBuildConfig::isLocalDeveloperDebugBuild();
}
bool CInterpolationAndRenderingSetupBase::setSendingGndFlagToSimulator(bool sendFLag)
{

View File

@@ -126,7 +126,7 @@ namespace BlackMisc
bool m_forceVtolInterpolation = false; //!< always do a full interpolation, even if aircraft is not moving
bool m_enabledAircraftParts = true; //!< Enable aircraft parts
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, ...)
};