Color Management: don't apply display transform on Non-Color images
authorSergey Sharybin <sergey.vfx@gmail.com>
Wed, 19 Sep 2012 15:01:36 +0000 (15:01 +0000)
committerSergey Sharybin <sergey.vfx@gmail.com>
Wed, 19 Sep 2012 15:01:36 +0000 (15:01 +0000)
commitd0f4c9639450ec1b90e7041e3d9c30e4927a745d
tree98c72ca38b3b6f186d04aa3f591b709d45eaed1b
parent16a698ad4abdcf77b32ec9c797cdb462eec051c4
Color Management: don't apply display transform on Non-Color images

Also don't color manage data buffers in texture painting.

Makes it possible to view heights and normal maps in proper space
and also paint on them without applying extra transformation.
intern/opencolorio/ocio_capi.cpp
intern/opencolorio/ocio_capi.h
intern/opencolorio/ocio_capi_stub.cpp
source/blender/editors/sculpt_paint/paint_image.c
source/blender/imbuf/IMB_imbuf_types.h
source/blender/imbuf/intern/IMB_colormanagement_intern.h
source/blender/imbuf/intern/colormanagement.c