Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2012-09-25 14:18:58 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2012-09-25 14:18:58 +0400
commit1f6f73e9656114c0822200c5b2b6d31b39395bc8 (patch)
tree34b7e06d3d8878fc21ffaf7020e89e521cec2f1c /source/blender/imbuf
parentd63f1cb5e4aa400be86f81d4ae294576a796c562 (diff)
Color Management: mark some TODOs as resolved
Diffstat (limited to 'source/blender/imbuf')
-rw-r--r--source/blender/imbuf/intern/colormanagement.c12
1 files changed, 3 insertions, 9 deletions
diff --git a/source/blender/imbuf/intern/colormanagement.c b/source/blender/imbuf/intern/colormanagement.c
index d8d249b57b4..8e1550823da 100644
--- a/source/blender/imbuf/intern/colormanagement.c
+++ b/source/blender/imbuf/intern/colormanagement.c
@@ -1528,10 +1528,8 @@ void IMB_colormanagement_colorspace_to_scene_linear_v3(float pixel[3], ColorSpac
ConstProcessorRcPtr *processor;
if (!colorspace) {
- /* OCIO_TODO: make sure it never happens */
-
+ /* should never happen */
printf("%s: perform conversion from unknown color space\n", __func__);
-
return;
}
@@ -1547,10 +1545,8 @@ void IMB_colormanagement_scene_linear_to_colorspace_v3(float pixel[3], ColorSpac
ConstProcessorRcPtr *processor;
if (!colorspace) {
- /* OCIO_TODO: make sure it never happens */
-
+ /* should never happen */
printf("%s: perform conversion from unknown color space\n", __func__);
-
return;
}
@@ -1565,10 +1561,8 @@ void IMB_colormanagement_colorspace_to_scene_linear(float *buffer, int width, in
ConstProcessorRcPtr *processor;
if (!colorspace) {
- /* OCIO_TODO: make sure it never happens */
-
+ /* should never happen */
printf("%s: perform conversion from unknown color space\n", __func__);
-
return;
}