From 3f91591c1d66440d197cddbd472313fad36f7a7b Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Fri, 9 Apr 2021 14:55:31 +1000 Subject: Cleanup: use const for BKE_where_on_path and related structs --- source/blender/blenkernel/BKE_curve.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'source/blender/blenkernel/BKE_curve.h') diff --git a/source/blender/blenkernel/BKE_curve.h b/source/blender/blenkernel/BKE_curve.h index 26c9bef7d6c..9c5eb620064 100644 --- a/source/blender/blenkernel/BKE_curve.h +++ b/source/blender/blenkernel/BKE_curve.h @@ -55,9 +55,8 @@ typedef struct CurveCache { * The first entry is the length between point 0 and 1 while the last is the * total length of the curve. * - * Used by 'BKE_where_on_path'. - */ - float *anim_path_accum_length; + * Used by 'BKE_where_on_path'. */ + const float *anim_path_accum_length; } CurveCache; /* Definitions needed for shape keys */ -- cgit v1.2.3