From f1af5a5a6967cec291d0054c32f69545fd824c4f Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sat, 29 Dec 2018 16:49:40 +0100 Subject: logic/pipeline: rename identifier --- logic/pipeline.cpp | 4 ++-- logic/pipeline.hpp | 2 +- 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 get_selected_axis_values(const Pose& newpose) const; -- cgit v1.2.3