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
+2 -2
View File
@@ -78,12 +78,12 @@ void ViewerOutput::AttachViewer(ViewerPanel *viewer)
}
}
void ViewerOutput::InvalidateCache(NodeInput* from, const rational &start_range, const rational &end_range)
void ViewerOutput::InvalidateCache(const rational &start_range, const rational &end_range, NodeInput *from)
{
// Update any attached viewer
UpdateViewer();
Node::InvalidateCache(from, start_range, end_range);
Node::InvalidateCache(start_range, end_range, from);
}
void ViewerOutput::UpdateViewer()