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>2016-03-23 17:09:09 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2016-03-23 17:09:36 +0300
commitab4307aa0868f2d8389cc0dd500eff38909b08f1 (patch)
tree768b5daf3e0fe3d677d4aeec4e25f141d48fca0b /source/blender/imbuf
parent6a4967ca6e6c6fd2a82c8af2549337e49d32756d (diff)
Fix T47869: OpenColorIO Error with unicode path to config file under Windows
Diffstat (limited to 'source/blender/imbuf')
-rw-r--r--source/blender/imbuf/intern/colormanagement.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/source/blender/imbuf/intern/colormanagement.c b/source/blender/imbuf/intern/colormanagement.c
index e4e93d3c4da..e38367414fd 100644
--- a/source/blender/imbuf/intern/colormanagement.c
+++ b/source/blender/imbuf/intern/colormanagement.c
@@ -635,18 +635,7 @@ void colormanagement_init(void)
if (configdir) {
BLI_join_dirfile(configfile, sizeof(configfile), configdir, BCM_CONFIG_FILE);
-
-#ifdef WIN32
- {
- /* quite a hack to support loading configuration from path with non-acii symbols */
-
- char short_name[256];
- BLI_get_short_name(short_name, configfile);
- config = OCIO_configCreateFromFile(short_name);
- }
-#else
config = OCIO_configCreateFromFile(configfile);
-#endif
}
}