summaryrefslogtreecommitdiffhomepage
path: root/tracker-pt/ftnoir_tracker_pt.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tracker-pt/ftnoir_tracker_pt.cpp')
-rw-r--r--tracker-pt/ftnoir_tracker_pt.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/tracker-pt/ftnoir_tracker_pt.cpp b/tracker-pt/ftnoir_tracker_pt.cpp
index a2272d1c..97404ec4 100644
--- a/tracker-pt/ftnoir_tracker_pt.cpp
+++ b/tracker-pt/ftnoir_tracker_pt.cpp
@@ -82,10 +82,14 @@ void Tracker_PT::run()
if (success)
{
+ int dynamic_pose_ms = s.dynamic_pose && s.active_model_panel != PointModel::Clip
+ ? s.init_phase_timeout
+ : 0;
+
point_tracker.track(points,
PointModel(s),
info,
- s.dynamic_pose ? s.init_phase_timeout : 0);
+ dynamic_pose_ms);
ever_success.store(true, std::memory_order_relaxed);
}