mirror of
https://github.com/PhotonVision/photonvision
synced 2026-06-19 00:41:41 +00:00
Fix reflective null points (#1469)
This commit is contained in:
@@ -441,8 +441,10 @@ public class TrackedTarget implements Releasable {
|
||||
}
|
||||
{
|
||||
var points = t.getTargetCorners();
|
||||
for (Point point : points) {
|
||||
detectedCorners.add(new TargetCorner(point.x, point.y));
|
||||
if (points != null) {
|
||||
for (Point point : points) {
|
||||
detectedCorners.add(new TargetCorner(point.x, point.y));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user