Don't put null designations in the trackers

This commit is contained in:
ButterscotchVanilla committed 2021-09-12 13:19:33 -04:00
1 parent efb065f558
commit bc542a7bb1
1 file changed
+3 -1
@@ -130,7 +130,9 @@ public final class PoseFrameIO {
position = new Vector3f(posX, posY, posZ);
}
trackerFrames.put(designation, new TrackerFrame(designation, rotation, position));
if (designation != null) {
trackerFrames.put(designation, new TrackerFrame(designation, rotation, position));
}
}
return new PoseFrame(trackerFrames);