Commit: ac8d26974ea7c4cfe7cb0b2bccccaf691dc3b490
Author: Jacques Lucke
Date: Sat Mar 7 12:58:45 2020 +0100
Branches: blenloader-api
https://developer.blender.org/rBac8d26974ea7c4cfe7cb0b2bccccaf691dc3b490
cleanup curve mapping reading
===================================================================
M source/blender/blenkernel/intern/colortools.c
===================================================================
diff --git a/source/blender/blenkernel/intern/colortools.c
b/source/blender/blenkernel/intern/colortools.c
index 2f9d46ba3a5..e0fb02c058d 100644
--- a/source/blender/blenkernel/intern/colortools.c
+++ b/source/blender/blenkernel/intern/colortools.c
@@ -199,7 +199,7 @@ void BKE_curvemapping_read_file(struct BloReader *reader,
struct CurveMapping *c
cumap->flag &= ~CUMA_PREMULLED;
for (int i = 0; i < CM_TOT; i++) {
- cumap->cm[i].curve = BLO_read_new_address(reader, cumap->cm[i].curve);
+ BLO_read_update_address(reader, cumap->cm[i].curve);
cumap->cm[i].table = NULL;
cumap->cm[i].premultable = NULL;
}
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs