summaryrefslogtreecommitdiffhomepage
path: root/logic
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2017-12-02 09:45:20 +0100
committerStanislaw Halik <sthalik@misaki.pl>2017-12-02 09:45:20 +0100
commite89709a801e7874bc02c66848c638c6a0ccc85c1 (patch)
tree1635273f39e9aa06d14ec7a7c566049da77838a8 /logic
parent2396ac190a62c30cbc687bb7c19119e1a8fd431e (diff)
logic: remove center_method setting
Diffstat (limited to 'logic')
-rw-r--r--logic/main-settings.cpp2
-rw-r--r--logic/main-settings.hpp2
-rw-r--r--logic/pipeline.cpp3
3 files changed, 4 insertions, 3 deletions
diff --git a/logic/main-settings.cpp b/logic/main-settings.cpp
index e2d1b41f..306e35cd 100644
--- a/logic/main-settings.cpp
+++ b/logic/main-settings.cpp
@@ -20,7 +20,7 @@ main_settings::main_settings() :
tray_enabled(b, "use-system-tray", false),
tray_start(b, "start-in-tray", false),
center_at_startup(b, "center-at-startup", true),
- center_method(b, "centering-method", 1),
+ //center_method(b, "centering-method", 1),
neck_z(b, "neck-depth", 0),
neck_enable(b, "neck-enable", false),
key_start_tracking1(b, "start-tracking"),
diff --git a/logic/main-settings.hpp b/logic/main-settings.hpp
index 29f401ab..fd3384eb 100644
--- a/logic/main-settings.hpp
+++ b/logic/main-settings.hpp
@@ -41,7 +41,7 @@ struct OTR_LOGIC_EXPORT main_settings final
value<bool> tcomp_disable_src_yaw, tcomp_disable_src_pitch, tcomp_disable_src_roll;
value<bool> tray_enabled, tray_start;
value<bool> center_at_startup;
- value<int> center_method;
+ //value<int> center_method;
value<int> neck_z;
value<bool> neck_enable;
key_opts key_start_tracking1, key_start_tracking2;
diff --git a/logic/pipeline.cpp b/logic/pipeline.cpp
index 78037227..776d13bb 100644
--- a/logic/pipeline.cpp
+++ b/logic/pipeline.cpp
@@ -215,7 +215,8 @@ void pipeline::logic()
rmat rotation = scaled_rotation.rotation;
euler_t pos = euler_t(&value[TX]) - t_center;
- switch (s.center_method)
+ //switch (s.center_method)
+ switch (1)
{
// inertial
case 0: