Skip to content

Commit

Permalink
fix: all landmarks except the first one are always null (#1125)
Browse files Browse the repository at this point in the history
  • Loading branch information
homuler committed Jan 17, 2024
1 parent f5ab41d commit 73554f2
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ public static void FillWith(this List<Landmarks> target, NativeLandmarksArray so
{
var landmarks = target[i];
Landmarks.Copy(nativeLandmarks, ref landmarks);
target[i] = landmarks;
target[i++] = landmarks;
}
}

Expand All @@ -294,7 +294,7 @@ public static void FillWith(this List<NormalizedLandmarks> target, NativeNormali
{
var landmarks = target[i];
NormalizedLandmarks.Copy(nativeLandmarks, ref landmarks);
target[i] = landmarks;
target[i++] = landmarks;
}
}
}
Expand Down

0 comments on commit 73554f2

Please sign in to comment.