Fix T82081: Remove workaround for OCIO Unicode issue on Windows
This workaround is no longer needed and prevents our OCIO configuration from being loaded if Blender is unpacked under a Unicode path. Differential Revision: https://developer.blender.org/D16818
This commit is contained in:
parent
280502e630
commit
b6c74b4c6f
Notes:
blender-bot
2023-02-14 06:42:53 +01:00
Referenced by issue #82081, Color Management render view only has 'standard'
|
@ -671,17 +671,7 @@ void colormanagement_init(void)
|
|||
if (configdir) {
|
||||
BLI_path_join(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
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue