Cleanup.
This commit is contained in:
@@ -588,7 +588,7 @@ QList<Block*> ProjectExplorer::GetFootageBlocks(QList<Node*> nodes)
|
||||
// For each Block see if it is linked to one of the Footage nodes add it to the delete list
|
||||
if (node->IsBlock()) {
|
||||
foreach (Node* input, nodes) {
|
||||
if (node->GetExclusiveDependencies().contains(input)) {
|
||||
if (node->GetDependencies().contains(input)) {
|
||||
blocks.append(static_cast<Block*>(node));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -124,6 +124,8 @@ private:
|
||||
|
||||
/**
|
||||
* @brief Get all the blocks associated with the given footage nodes
|
||||
*
|
||||
* Currently quite brute force.
|
||||
*/
|
||||
QList<Block*> GetFootageBlocks(QList<Node*> nodes);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user