mirror of
https://github.com/PhotonVision/photonvision
synced 2026-07-01 02:41:42 +00:00
[UI] Fix target tab under AprilTag (#478)
* Start addressing things * Fix target tab table * Update TrackedTarget.java
This commit is contained in:
@@ -196,8 +196,12 @@ public class TrackedTarget implements Releasable {
|
||||
@Override
|
||||
public void release() {
|
||||
m_mainContour.release();
|
||||
for (var sc : m_subContours) {
|
||||
sc.release();
|
||||
|
||||
// TODO how can this check fail?
|
||||
if (m_subContours != null) {
|
||||
for (var sc : m_subContours) {
|
||||
sc.release();
|
||||
}
|
||||
}
|
||||
|
||||
if (m_cameraRelativeTvec != null) m_cameraRelativeTvec.release();
|
||||
|
||||
Reference in New Issue
Block a user