adjusted invalidatecache function

This commit is contained in:
itsmattkc
2019-09-02 20:11:42 +10:00
parent e87ed9dd3d
commit 3a9af58344
11 changed files with 68 additions and 30 deletions
+3 -3
View File
@@ -124,7 +124,7 @@ void RendererProcessor::Release()
Stop();
}
void RendererProcessor::InvalidateCache(NodeInput* from, const rational &start_range, const rational &end_range)
void RendererProcessor::InvalidateCache(const rational &start_range, const rational &end_range, NodeInput *from)
{
Q_UNUSED(from)
@@ -362,9 +362,9 @@ void RendererProcessor::DownloadThreadFinished(const rational& time)
texture_output_->ClearCachedValue();
foreach (NodeEdgePtr edge, edges) {
edge->input()->parent()->InvalidateCache(edge->input(),
edge->input()->parent()->InvalidateCache(time,
time,
time);
edge->input());
}
}
}