finished hashing algorithm for cache

This commit is contained in:
itsmattkc
2019-09-02 19:51:31 +10:00
parent b563b9e783
commit e87ed9dd3d
12 changed files with 124 additions and 44 deletions
+11
View File
@@ -103,3 +103,14 @@ void ClipBlock::InvalidateCache(NodeInput *from, const rational &start_range, co
Node::InvalidateCache(from, start_range, end_range);
}
}
QList<NodeDependency> ClipBlock::RunDependencies(NodeOutput *output, const rational &time)
{
QList<NodeDependency> deps;
if (output == texture_output() && texture_input_->IsConnected()) {
deps.append(NodeDependency(texture_input_->get_connected_output(), SequenceToMediaTime(time)));
}
return deps;
}