summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_tracker_hatire/ftnoir_tracker_hat_settings.cpp
diff options
context:
space:
mode:
authormartin <martin@thegreens.net>2015-05-02 08:42:50 +1000
committermartin <martin@thegreens.net>2015-05-02 08:42:50 +1000
commit4da4b7608ff03782ed2a157a7ef2bc843101b271 (patch)
tree3189b57a6a3cd901c44387a877f35ecacbf296cc /ftnoir_tracker_hatire/ftnoir_tracker_hat_settings.cpp
parent0dbfd34bab63170915b9bdd0f456f39def4ea43e (diff)
Fix returning consistent data to get headpose and other minor issues
Diffstat (limited to 'ftnoir_tracker_hatire/ftnoir_tracker_hat_settings.cpp')
-rw-r--r--ftnoir_tracker_hatire/ftnoir_tracker_hat_settings.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/ftnoir_tracker_hatire/ftnoir_tracker_hat_settings.cpp b/ftnoir_tracker_hatire/ftnoir_tracker_hat_settings.cpp
index a327c0c1..017a8f0a 100644
--- a/ftnoir_tracker_hatire/ftnoir_tracker_hat_settings.cpp
+++ b/ftnoir_tracker_hatire/ftnoir_tracker_hat_settings.cpp
@@ -57,8 +57,8 @@ void TrackerSettings::load_ini()
EnableX = iniFile.value( "EnableX", 0 ).toBool();
EnableY = iniFile.value( "EnableY", 0 ).toBool();
EnableZ = iniFile.value( "EnableZ", 0 ).toBool();
-
-
+ EnableLogging = iniFile.value( "EnableLogging", 0).toBool();
+
InvertRoll = iniFile.value( "InvertRoll", 1 ).toBool();
InvertPitch = iniFile.value( "InvertPitch", 1 ).toBool();
InvertYaw = iniFile.value( "InvertYaw", 1 ).toBool();
@@ -127,6 +127,7 @@ void TrackerSettings::save_ini() const
iniFile.setValue( "EnableX", EnableX );
iniFile.setValue( "EnableY", EnableY );
iniFile.setValue( "EnableZ", EnableZ );
+ iniFile.setValue( "EnableLogging", EnableLogging );
iniFile.setValue( "InvertRoll", InvertRoll );
iniFile.setValue( "InvertPitch", InvertPitch );