summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2017-03-24 12:42:17 +0100
committerStanislaw Halik <sthalik@misaki.pl>2017-03-24 12:42:17 +0100
commitdf335271871686c9bfb1e99ef5193bda0b46be2f (patch)
treef83c900ebc9b213911c260b2163b80daee1b1e6d
parent3b3fa50324dfa80d46de37602b66ae382bf15518 (diff)
tracker/pt: bail if point count isn't EXACTLY 3trackmouse-prototype-pre0
-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 8a5950f2..fce20cbe 100644
--- a/tracker-pt/ftnoir_tracker_pt.cpp
+++ b/tracker-pt/ftnoir_tracker_pt.cpp
@@ -86,7 +86,7 @@ void Tracker_PT::run()
f fx;
cam_info.get_focal_length(fx);
- const bool success = points.size() >= PointModel::N_POINTS;
+ const bool success = points.size() == PointModel::N_POINTS;
if (success)
{