summaryrefslogtreecommitdiffhomepage
path: root/logic
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-12-29 16:49:40 +0100
committerStanislaw Halik <sthalik@misaki.pl>2019-01-16 07:48:19 +0100
commitf1af5a5a6967cec291d0054c32f69545fd824c4f (patch)
tree4dd09ce72b4eb35b7d9e0ff69bd9388662b5ace7 /logic
parent3f0f866e6986ffc4b010d841292e06a6895ba74b (diff)
logic/pipeline: rename identifier
Diffstat (limited to 'logic')
-rw-r--r--logic/pipeline.cpp4
-rw-r--r--logic/pipeline.hpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/logic/pipeline.cpp b/logic/pipeline.cpp
index 025ef456..e174178c 100644
--- a/logic/pipeline.cpp
+++ b/logic/pipeline.cpp
@@ -275,7 +275,7 @@ bool pipeline::maybe_enable_center_on_tracking_started()
return false;
}
-void pipeline::set_center_pose(const Pose& value, bool own_center_logic)
+void pipeline::maybe_set_center_pose(const Pose& value, bool own_center_logic)
{
if (b.get(f_center | f_held_center))
{
@@ -414,7 +414,7 @@ void pipeline::logic()
{
maybe_enable_center_on_tracking_started();
- set_center_pose(value, own_center_logic);
+ maybe_set_center_pose(value, own_center_logic);
value = apply_center(value);
// "corrected" - after various transformations to account for camera position
diff --git a/logic/pipeline.hpp b/logic/pipeline.hpp
index 1f3ce13a..40088a5d 100644
--- a/logic/pipeline.hpp
+++ b/logic/pipeline.hpp
@@ -111,7 +111,7 @@ class OTR_LOGIC_EXPORT pipeline : private QThread
void logic();
void run() override;
bool maybe_enable_center_on_tracking_started();
- void set_center_pose(const Pose& value, bool own_center_logic);
+ void maybe_set_center_pose(const Pose& value, bool own_center_logic);
Pose clamp_value(Pose value) const;
Pose apply_center(Pose value) const;
std::tuple<Pose, Pose, vec6_bool> get_selected_axis_values(const Pose& newpose) const;