removed "previous_input" param from block

It was becoming inevitable to get rid of this, it was continuously an exception
that had to be made to the DAG concept seeing as blocks are never really
"dependents" on each other, i.e. the images they produce have nothing to do
with other blocks. The only exception is a transition which will also be
easier to accomplish with this slightly different design.
This commit is contained in:
itsmattkc
2019-11-30 23:24:01 +11:00
parent 7c5b50c5e7
commit a478b11fd0
3 changed files with 10 additions and 53 deletions
+3 -3
View File
@@ -181,12 +181,12 @@ const QVector<Block *> &TrackOutput::Blocks()
void TrackOutput::InvalidateCache(const rational &start_range, const rational &end_range, NodeInput *from)
{
// We intercept IC signals from Blocks since we may be performing several options and they may over-signal
/*// We intercept IC signals from Blocks since we may be performing several options and they may over-signal
if (from == previous_input() && block_invalidate_cache_stack_ == 0) {
Node::InvalidateCache(qMax(start_range, rational(0)), qMin(end_range, in()), from);
} else {
Node::InvalidateCache(start_range, end_range, from);
}
}*/
Node::InvalidateCache(start_range, end_range, from);
}
QVariant TrackOutput::Value(NodeOutput *output)