colormanager: always temporarily set C locale when loading an OCIO config from file
Fixes known bug in OCIO when loading files from non-English locales.
This commit is contained in:
@@ -177,7 +177,7 @@ void ProjectPropertiesDialog::OCIOFilenameUpdated()
|
||||
if (ocio_filename_->text().isEmpty()) {
|
||||
c = ColorManager::GetDefaultConfig();
|
||||
} else {
|
||||
c = OCIO::Config::CreateFromFile(ocio_filename_->text().toUtf8());
|
||||
c = ColorManager::CreateConfigFromFile(ocio_filename_->text());
|
||||
}
|
||||
|
||||
ocio_filename_->setStyleSheet(QString());
|
||||
|
||||
Reference in New Issue
Block a user