summaryrefslogtreecommitdiffhomepage
path: root/tracker-pt/ftnoir_tracker_pt.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2021-09-26 10:00:53 +0200
committerStanislaw Halik <sthalik@misaki.pl>2021-09-26 11:22:51 +0200
commitd0a3b0a85c50c7c746b8ef17af19f4e88dfdf895 (patch)
tree429cd3f90a4666487f1897e38677f80a89dc01f5 /tracker-pt/ftnoir_tracker_pt.cpp
parent5ba58e31d177a9cfa6d2c48a674ce295fdcd248a (diff)
tracker/{pt,wii}: fix awkward pt_preview::operator=
Diffstat (limited to 'tracker-pt/ftnoir_tracker_pt.cpp')
-rw-r--r--tracker-pt/ftnoir_tracker_pt.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tracker-pt/ftnoir_tracker_pt.cpp b/tracker-pt/ftnoir_tracker_pt.cpp
index 570d76c4..64fd6fd5 100644
--- a/tracker-pt/ftnoir_tracker_pt.cpp
+++ b/tracker-pt/ftnoir_tracker_pt.cpp
@@ -72,7 +72,7 @@ void Tracker_PT::run()
const bool preview_visible = check_is_visible();
if (preview_visible)
- *preview_frame = *frame;
+ preview_frame->set_last_frame(*frame);
point_extractor->extract_points(*frame, *preview_frame, preview_visible, points);
point_count.store(points.size(), std::memory_order_relaxed);