diff options
-rw-r--r-- | logic/pipeline.cpp | 4 | ||||
-rw-r--r-- | 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<Pose, Pose, vec6_bool> get_selected_axis_values(const Pose& newpose) const; |