[Bf-blender-cvs] [42def76831e] master: Cleanup: Add a bit more detail to curves offsets comment
Hans Goudey
noreply at git.blender.org
Mon Dec 12 20:53:24 CET 2022
Commit: 42def76831e043febd2188a9a7a06a438920b96f
Author: Hans Goudey
Date: Mon Dec 12 13:40:06 2022 -0600
Branches: master
https://developer.blender.org/rB42def76831e043febd2188a9a7a06a438920b96f
Cleanup: Add a bit more detail to curves offsets comment
===================================================================
M source/blender/makesdna/DNA_curves_types.h
===================================================================
diff --git a/source/blender/makesdna/DNA_curves_types.h b/source/blender/makesdna/DNA_curves_types.h
index a72a9bf4c68..847a4b8a02c 100644
--- a/source/blender/makesdna/DNA_curves_types.h
+++ b/source/blender/makesdna/DNA_curves_types.h
@@ -97,10 +97,10 @@ typedef struct CurvesGeometry {
* this array is allocated with a length one larger than the number of curves. This is allowed
* to be null when there are no curves.
*
- * Every curve offset must be at least one larger than the previous.
- * In other words, every curve must have at least one point.
+ * Every curve offset must be at least one larger than the previous. In other words, every curve
+ * must have at least one point. The first value is 0 and the last value is #point_num.
*
- * \note This is *not* stored in #CustomData because its size is one larger than #curve_data.
+ * \note This is *not* stored as an attribute because its size is one larger than #curve_num.
*/
int *curve_offsets;
More information about the Bf-blender-cvs
mailing list