diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2013-04-13 01:00:34 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2013-04-13 01:00:34 +0200 |
commit | 939a7aeb335b998cc763c33aa3cb81fb5ddd87a4 (patch) | |
tree | 807074c5df1ed4a999b4e64c734ed5fca3780c7f /facetracknoir | |
parent | b89195cee53549704e0807a802f5f05ed5d4e87a (diff) |
Third chance - fix alt spline not working for all axes
Diffstat (limited to 'facetracknoir')
-rw-r--r-- | facetracknoir/facetracknoir.cpp | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/facetracknoir/facetracknoir.cpp b/facetracknoir/facetracknoir.cpp index 37f54aaa..fd971c96 100644 --- a/facetracknoir/facetracknoir.cpp +++ b/facetracknoir/facetracknoir.cpp @@ -757,6 +757,13 @@ void FaceTrackNoIR::startTracker( ) { GlobalPose->Pitch.curvePtrAlt->loadSettings(iniFile);
GlobalPose->Roll.curvePtrAlt->loadSettings(iniFile);
+ GlobalPose->Yaw.altp = iniFile.value("rx_alt", false).toBool();
+ GlobalPose->Pitch.altp = iniFile.value("ry_alt", false).toBool();
+ GlobalPose->Roll.altp = iniFile.value("rz_alt", false).toBool();
+ GlobalPose->X.altp = iniFile.value("tx_alt", false).toBool();
+ GlobalPose->Y.altp = iniFile.value("ty_alt", false).toBool();
+ GlobalPose->Z.altp = iniFile.value("tz_alt", false).toBool();
+
tracker = new Tracker ( this );
//
@@ -1967,9 +1974,6 @@ void CurveConfigurationDialog::loadSettings() { qDebug() << "loadSettings says: iniFile = " << currentFile;
- iniFile.beginGroup ( "Tracking" );
- iniFile.endGroup ();
-
GlobalPose->Yaw.altp = iniFile.value("rx_alt", false).toBool();
GlobalPose->Pitch.altp = iniFile.value("ry_alt", false).toBool();
GlobalPose->Roll.altp = iniFile.value("rz_alt", false).toBool();
|