Deal with composite blocks

If a block relies on mulitple inputs (i.e. a composite) then don't
delete these from the timeline. We catch these inputs afterwards.
This commit is contained in:
Thomas Wilshaw
2020-09-29 13:29:59 +01:00
parent 791857fba1
commit a71df11fa6
2 changed files with 38 additions and 9 deletions
+3 -3
View File
@@ -123,9 +123,9 @@ private:
QMap<Node*, StreamPtr> GetFootageNodes(Item* item);
/**
* @brief Get all the blocks associated with the given footage nodes
*
* Currently quite brute force.
* @brief Get all the blocks that solely rely on an input node
*
* Ignores blocks that depend on multiple inputs
*/
QList<Block*> GetFootageBlocks(QList<Node*> nodes);