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; }