diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2017-03-24 12:42:17 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2017-03-24 12:42:17 +0100 |
commit | df335271871686c9bfb1e99ef5193bda0b46be2f (patch) | |
tree | f83c900ebc9b213911c260b2163b80daee1b1e6d | |
parent | 3b3fa50324dfa80d46de37602b66ae382bf15518 (diff) |
tracker/pt: bail if point count isn't EXACTLY 3trackmouse-prototype-pre0
-rw-r--r-- | tracker-pt/ftnoir_tracker_pt.cpp | 2 |
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) { |