node: rewrote problematic GetExclusiveDependencies() function

Function would erroneously pick up nodes that weren't actually dependencies.
This commit is contained in:
itsmattkc
2020-01-25 16:37:28 +11:00
parent 420e01002e
commit 7bb8da8d79
2 changed files with 19 additions and 41 deletions
+2 -2
View File
@@ -363,9 +363,9 @@ private:
void DisconnectInput(NodeInput* input);
static void TraverseInputInternal(QList<Node*>& list, NodeInput* input, bool traverse);
static void TraverseInputInternal(QList<Node*>& list, NodeInput* input, bool traverse, bool exclusive_only);
static void GetDependenciesInternal(const Node* n, QList<Node*>& list, bool traverse);
static void GetDependenciesInternal(const Node* n, QList<Node*>& list, bool traverse, bool exclusive_only);
QList<NodeParam *> params_;