diff options
Diffstat (limited to 'source/blender/blenkernel/BKE_curve.h')
-rw-r--r-- | source/blender/blenkernel/BKE_curve.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/source/blender/blenkernel/BKE_curve.h b/source/blender/blenkernel/BKE_curve.h index 8381f015bee..26c9bef7d6c 100644 --- a/source/blender/blenkernel/BKE_curve.h +++ b/source/blender/blenkernel/BKE_curve.h @@ -50,7 +50,14 @@ typedef struct CurveCache { ListBase disp; ListBase bev; ListBase deformed_nurbs; - struct Path *path; + /* This array contains the accumulative length of the curve segments. + * So you can see this as a "total distance traveled" along the curve. + * 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; } CurveCache; /* Definitions needed for shape keys */ |