From 9ccf6fc1ab47cd6688d6f9db3c477a9fcf2fe9e9 Mon Sep 17 00:00:00 2001 From: itsmattkc <34096995+itsmattkc@users.noreply.github.com> Date: Wed, 5 Oct 2022 21:10:55 -0700 Subject: [PATCH] node: updated incompatible function --- app/node/node.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/node/node.h b/app/node/node.h index fea4db863..0dbfdaa3e 100644 --- a/app/node/node.h +++ b/app/node/node.h @@ -853,7 +853,7 @@ public: * @brief Find nodes of a certain type that this Node takes inputs from */ template - QVector FindInputNodes() const; + QVector FindInputNodes(int maximum = 0) const; /** * @brief Find nodes of a certain type that this Node takes inputs from @@ -1550,11 +1550,11 @@ void Node::FindInputNodeInternal(const Node* n, QVector &list, int maximum) } template -QVector Node::FindInputNodes() const +QVector Node::FindInputNodes(int maximum) const { QVector list; - FindInputNodeInternal(this, list); + FindInputNodeInternal(this, list, maximum); return list; }