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>2014-05-23 15:48:05 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2014-05-23 15:48:35 +0400
commit56b7d558336a328dec76d180b6fff55a80b93903 (patch)
treec6c0f2b48dde198e9b9b5aec08e2e5d2a34eba49 /source/blender/imbuf
parentd3a94941effd7bffd16569795484e9415a3db764 (diff)
Report to the console when custom ocio config is used
Diffstat (limited to 'source/blender/imbuf')
-rw-r--r--source/blender/imbuf/intern/colormanagement.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/source/blender/imbuf/intern/colormanagement.c b/source/blender/imbuf/intern/colormanagement.c
index 590b21259c3..21ee8ebe237 100644
--- a/source/blender/imbuf/intern/colormanagement.c
+++ b/source/blender/imbuf/intern/colormanagement.c
@@ -626,8 +626,12 @@ void colormanagement_init(void)
ocio_env = getenv("OCIO");
- if (ocio_env && ocio_env[0] != '\0')
+ if (ocio_env && ocio_env[0] != '\0') {
config = OCIO_configCreateFromEnv();
+ if (config != NULL) {
+ printf("Color management: Using %s as a configuration file\n", ocio_env);
+ }
+ }
if (config == NULL) {
configdir = BLI_get_folder(BLENDER_DATAFILES, "colormanagement");