several adjustments to node caching system

This commit is contained in:
itsmattkc
2019-09-02 11:29:50 +10:00
parent eca20c2356
commit f2972651af
18 changed files with 168 additions and 48 deletions
+2 -2
View File
@@ -78,12 +78,12 @@ void ViewerOutput::AttachViewer(ViewerPanel *viewer)
}
}
void ViewerOutput::InvalidateCache(const rational &start_range, const rational &end_range)
void ViewerOutput::InvalidateCache(NodeInput* from, const rational &start_range, const rational &end_range)
{
// Update any attached viewer
UpdateViewer();
Node::InvalidateCache(start_range, end_range);
Node::InvalidateCache(from, start_range, end_range);
}
void ViewerOutput::UpdateViewer()