Color management: fix crashes and memory leaks when using custom OCIO configuration
authorBrecht Van Lommel <brechtvanlommel@pandora.be>
Tue, 18 Sep 2012 19:20:26 +0000 (19:20 +0000)
committerBrecht Van Lommel <brechtvanlommel@pandora.be>
Tue, 18 Sep 2012 19:20:26 +0000 (19:20 +0000)
commit22fdc63b862533e5d7dc1e8b5e3b4f6056668363
tree25a01a2a843ab840aefbfad9036f407f9c565d62
parent56175d8c802bbe4b31b2d75bc04f39936bf0899c
Color management: fix crashes and memory leaks when using custom OCIO configuration
Also fix some missing color spaces when loading some OCIO configurations, by falling
back to scene linear if role is not found. There can still be some errors in the
console, need to check this further.

http://wiki.blender.org/index.php/Dev:Ref/Release_Notes/2.64/Color_Management#OpenColorIO_Configuration
intern/opencolorio/ocio_capi.cpp
source/blender/imbuf/intern/colormanagement.c