nodes: optimize blocks so they don't unnecessarily change the hash

This commit is contained in:
itsmattkc
2020-05-06 16:14:23 +10:00
parent fb625cb76e
commit d49c6a059c
6 changed files with 28 additions and 4 deletions
+5
View File
@@ -365,4 +365,9 @@ void Block::InvalidateCache(const TimeRange &range, NodeInput *from, NodeInput *
Node::InvalidateCache(range, from, source);
}
void Block::Hash(QCryptographicHash &, const rational &) const
{
// A block does nothing by default
}
OLIVE_NAMESPACE_EXIT