summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2020-02-14 22:30:42 +0100
committerStanislaw Halik <sthalik@misaki.pl>2020-02-14 22:31:01 +0100
commit73ad388bf8ba4af8bac0ebe22e657c8083cdae52 (patch)
tree22c6181068cc88488e6100873a342e813c62df59
parentbbf0c5b873a23ccb3bb3c83586eef266daec3541 (diff)
tracker/pt: allow dynamic pose for clips
Fixes #1047
-rw-r--r--tracker-pt/ftnoir_tracker_pt.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/tracker-pt/ftnoir_tracker_pt.cpp b/tracker-pt/ftnoir_tracker_pt.cpp
index 194fd423..de95a0d4 100644
--- a/tracker-pt/ftnoir_tracker_pt.cpp
+++ b/tracker-pt/ftnoir_tracker_pt.cpp
@@ -85,9 +85,7 @@ void Tracker_PT::run()
if (success)
{
- int dynamic_pose_ms = s.dynamic_pose && s.active_model_panel != PointModel::Clip
- ? s.init_phase_timeout
- : 0;
+ int dynamic_pose_ms = s.dynamic_pose ? s.init_phase_timeout : 0;
point_tracker.track(points,
PointModel(s),