Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2021-04-09 07:55:31 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-04-09 08:00:03 +0300
commit3f91591c1d66440d197cddbd472313fad36f7a7b (patch)
tree555f4dded9c3ff71190b7364ecb9ceb2969e136a /source/blender/blenkernel/BKE_curve.h
parent71da3f31d4972a2b3a519f201d955606ad66dd02 (diff)
Cleanup: use const for BKE_where_on_path and related structs
Diffstat (limited to 'source/blender/blenkernel/BKE_curve.h')
-rw-r--r--source/blender/blenkernel/BKE_curve.h5
1 files changed, 2 insertions, 3 deletions
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 */