removed hardcoded OCIO config
This commit is contained in:
@@ -14,14 +14,15 @@ ColorService::ColorService(const char* source_space, const char* dest_space)
|
|||||||
|
|
||||||
void ColorService::Init()
|
void ColorService::Init()
|
||||||
{
|
{
|
||||||
try {
|
// FIXME: Load configured config file for this session
|
||||||
|
/*try {
|
||||||
// FIXME: Hardcoded values for testing purposes
|
// FIXME: Hardcoded values for testing purposes
|
||||||
OCIO::ConstConfigRcPtr config = OCIO::Config::CreateFromFile("/run/media/matt/Home/OpenColorIO/ocio.configs.0.7v4/nuke-default/config.ocio");
|
OCIO::ConstConfigRcPtr config = OCIO::Config::CreateFromFile("/run/media/matt/Home/OpenColorIO/ocio.configs.0.7v4/nuke-default/config.ocio");
|
||||||
|
|
||||||
OCIO::SetCurrentConfig(config);
|
OCIO::SetCurrentConfig(config);
|
||||||
} catch (OCIO::Exception& exception) {
|
} catch (OCIO::Exception& exception) {
|
||||||
qWarning() << "OpenColorIO Error:" << exception.what();
|
qWarning() << "OpenColorIO Error:" << exception.what();
|
||||||
}
|
}*/
|
||||||
}
|
}
|
||||||
|
|
||||||
ColorServicePtr ColorService::Create(const char *source_space, const char *dest_space)
|
ColorServicePtr ColorService::Create(const char *source_space, const char *dest_space)
|
||||||
|
|||||||
Reference in New Issue
Block a user