diff options
author | Lukas Toenne <lukas.toenne@googlemail.com> | 2013-09-11 11:07:16 +0400 |
---|---|---|
committer | Lukas Toenne <lukas.toenne@googlemail.com> | 2013-09-11 11:07:16 +0400 |
commit | e0b2111942e7990557bd87f94fcedc657d6d3b92 (patch) | |
tree | 65e635c3fe1910f9207c91a2ca42c3b7bfe1670d /source/blender/imbuf/intern | |
parent | d2d1025e4a4f2faeff3332b6df6e646a217de592 (diff) |
Fix #36698 Cycles MinGW64 Mike Pan scene crashes instantly. Missing pointer check in color management look access from r59945. The look_desc pointer is NULL if the look string is undefined (empty).
Diffstat (limited to 'source/blender/imbuf/intern')
-rw-r--r-- | source/blender/imbuf/intern/colormanagement.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/imbuf/intern/colormanagement.c b/source/blender/imbuf/intern/colormanagement.c index 8de7b22d143..b2c45a138fa 100644 --- a/source/blender/imbuf/intern/colormanagement.c +++ b/source/blender/imbuf/intern/colormanagement.c @@ -750,7 +750,7 @@ static OCIO_ConstProcessorRcPtr *create_display_buffer_processor(const char *loo OCIO_displayTransformSetView(dt, view_transform); OCIO_displayTransformSetDisplay(dt, display); - if (look_descr->is_noop == false) { + if (look_descr && look_descr->is_noop == false) { OCIO_displayTransformSetLooksOverrideEnabled(dt, true); OCIO_displayTransformSetLooksOverride(dt, look); } |