summaryrefslogtreecommitdiffhomepage
path: root/logic/pipeline.cpp
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/pipeline.cpp
parent3f0f866e6986ffc4b010d841292e06a6895ba74b (diff)
logic/pipeline: rename identifier
Diffstat (limited to 'logic/pipeline.cpp')
-rw-r--r--logic/pipeline.cpp4
1 files changed, 2 insertions, 2 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