Skip to content

Commit

Permalink
fix bug: after changing class there is no NaN more in trackId
Browse files Browse the repository at this point in the history
  • Loading branch information
walzimmer committed Mar 6, 2021
1 parent 5012491 commit 5a968a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/base_label_tool.js
Original file line number Diff line number Diff line change
Expand Up @@ -539,7 +539,7 @@ let labelTool = {
params.original.rotationRoll = parseFloat(annotation.box3d.orientation.rotationRoll);
params.trackId = annotation.id;
if (params.trackId > classesBoundingBox[annotation.category].maxTrackId) {
classesBoundingBox[annotation.category].maxTrackId = params.id;
classesBoundingBox[annotation.category].maxTrackId = params.trackId;
}
params.x = parseFloat(annotation.box3d.location.x);
params.y = parseFloat(annotation.box3d.location.y);
Expand Down

0 comments on commit 5a968a1

Please sign in to comment.