moved ColorManager to a node
Reduces code by reusing the existing node infrastructure. Also helps prevent race conditions since the node/render system is designed for multithreading.
This commit is contained in:
@@ -195,8 +195,10 @@ void ProjectPropertiesDialog::accept()
|
||||
}
|
||||
|
||||
// This should ripple changes throughout the program that the color config has changed, therefore must be done last
|
||||
working_project_->color_manager()->SetConfigAndDefaultInput(ocio_filename_->text(),
|
||||
default_input_colorspace_->currentText());
|
||||
ColorManager* color_manager = working_project_->color_manager();
|
||||
|
||||
color_manager->SetConfigFilename(ocio_filename_->text());
|
||||
color_manager->SetDefaultInputColorSpace(default_input_colorspace_->currentText());
|
||||
|
||||
QDialog::accept();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user