diff options
Diffstat (limited to 'source/blender/blenloader/intern/versioning_280.c')
-rw-r--r-- | source/blender/blenloader/intern/versioning_280.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/blenloader/intern/versioning_280.c b/source/blender/blenloader/intern/versioning_280.c index 8baea5c8c4b..a24165713aa 100644 --- a/source/blender/blenloader/intern/versioning_280.c +++ b/source/blender/blenloader/intern/versioning_280.c @@ -891,6 +891,10 @@ static void do_versions_local_collection_bits_set(LayerCollection *layer_collect static void do_version_curvemapping_flag_extend_extrapolate(CurveMapping *cumap) { + if (cumap == NULL) { + return; + } + #define CUMA_EXTEND_EXTRAPOLATE_OLD 1 for (int curve_map_index = 0; curve_map_index < 4; curve_map_index++) { CurveMap *cuma = &cumap->cm[curve_map_index]; |