completed color management implementation

This commit adds the background functionality of the render cache invalidating
whenever a footage's color space is changed. This includes when the project's
configuration is changed as well.
This commit is contained in:
itsmattkc
2019-12-16 16:46:15 +11:00
parent baab21a3ab
commit 377e2316be
10 changed files with 85 additions and 19 deletions
+14 -1
View File
@@ -21,7 +21,8 @@
#include "item.h"
Item::Item() :
parent_(nullptr)
parent_(nullptr),
project_(nullptr)
{
}
@@ -127,6 +128,18 @@ const Item *Item::root() const
return item;
}
Project *Item::project() const
{
const Item* root_item = root();
return root_item->project_;
}
void Item::set_project(Project *project)
{
project_ = project;
}
bool Item::CanHaveChildren() const
{
return false;