diff options
Diffstat (limited to 'source/blender/makesrna/intern/rna_fcurve_api.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_fcurve_api.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/makesrna/intern/rna_fcurve_api.c b/source/blender/makesrna/intern/rna_fcurve_api.c index 873b3cfa502..4cc38d3616c 100644 --- a/source/blender/makesrna/intern/rna_fcurve_api.c +++ b/source/blender/makesrna/intern/rna_fcurve_api.c @@ -86,8 +86,9 @@ static void rna_FCurve_convert_to_keyframes(FCurve *fcu, ReportList *reports, in fcu->totvert = tot_kf; /* Get first sample point to 'copy' as keyframe. */ - for (; tot_sp && (fpt->vec[0] < (float)start); fpt++, tot_sp--) - ; + for (; tot_sp && (fpt->vec[0] < (float)start); fpt++, tot_sp--) { + /* pass */ + } /* Add heading dummy flat points if needed. */ for (; tot_kf && (fpt->vec[0] > (float)start); start++, bezt++, tot_kf--) { |