diff --git a/source/blender/io/usd/intern/usd_armature_utils.cc b/source/blender/io/usd/intern/usd_armature_utils.cc index 477d465779f..38fba1dd825 100644 --- a/source/blender/io/usd/intern/usd_armature_utils.cc +++ b/source/blender/io/usd/intern/usd_armature_utils.cc @@ -35,7 +35,7 @@ FCurve *create_fcurve(blender::animrig::Channelbag &channelbag, } /* Utility: fill in a single fcurve sample at the provided index. */ -void set_fcurve_sample(FCurve *fcu, uint sample_index, const float frame, const float value) +void set_fcurve_sample(FCurve *fcu, int64_t sample_index, const float frame, const float value) { BLI_assert(sample_index >= 0 && sample_index < fcu->totvert); BezTriple &bez = fcu->bezt[sample_index]; diff --git a/source/blender/io/usd/intern/usd_armature_utils.hh b/source/blender/io/usd/intern/usd_armature_utils.hh index e42ad371974..d54b57fdf15 100644 --- a/source/blender/io/usd/intern/usd_armature_utils.hh +++ b/source/blender/io/usd/intern/usd_armature_utils.hh @@ -36,7 +36,7 @@ FCurve *create_fcurve(blender::animrig::Channelbag &channelbag, const int sample_count); /* Utility: fill in a single fcurve sample at the provided index. */ -void set_fcurve_sample(FCurve *fcu, uint sample_index, const float frame, const float value); +void set_fcurve_sample(FCurve *fcu, int64_t sample_index, const float frame, const float value); /** * Recursively invoke the given function on the given armature object's bones.