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
path: root/intern
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2014-08-22 21:52:29 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2014-08-22 21:53:29 +0400
commit4ff4bfcb9c672ecacd8e5f39df6404a2880ba056 (patch)
treeb24ea75d725dcf26cdde6459a686c7967ede8131 /intern
parent4ba0f441512f39455f3cd7201207f7467b948297 (diff)
Cycles: DPX is saved in the sRGB space and need to be converted to linear
This at least applies to DPX saved from within blender, which is 1st prio to support working reliably.
Diffstat (limited to 'intern')
-rw-r--r--intern/cycles/render/image.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/intern/cycles/render/image.cpp b/intern/cycles/render/image.cpp
index 5ab9d81b854..076cc3d8b63 100644
--- a/intern/cycles/render/image.cpp
+++ b/intern/cycles/render/image.cpp
@@ -135,6 +135,7 @@ bool ImageManager::is_float_image(const string& filename, void *builtin_data, bo
(colorspace == "" &&
(strcmp(in->format_name(), "png") == 0 ||
strcmp(in->format_name(), "tiff") == 0 ||
+ strcmp(in->format_name(), "dpx") == 0 ||
strcmp(in->format_name(), "jpeg2000") == 0)));
}
else {