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:
Diffstat (limited to 'source/blender/blenkernel/intern/colortools.c')
-rw-r--r--source/blender/blenkernel/intern/colortools.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/colortools.c b/source/blender/blenkernel/intern/colortools.c
index f2c2e552a9f..c6d84965185 100644
--- a/source/blender/blenkernel/intern/colortools.c
+++ b/source/blender/blenkernel/intern/colortools.c
@@ -1241,7 +1241,8 @@ void BKE_curvemapping_blend_write(BlendWriter *writer, const CurveMapping *cumap
BKE_curvemapping_curves_blend_write(writer, cumap);
}
-void BKE_curvemapping_curves_blend_write(BlendWriter *writer, const CurveMapping *cumap)
+ATTR_NO_OPT void BKE_curvemapping_curves_blend_write(BlendWriter *writer,
+ const CurveMapping *cumap)
{
for (int a = 0; a < CM_TOT; a++) {
BLO_write_struct_array(writer, CurveMapPoint, cumap->cm[a].totpoint, cumap->cm[a].curve);