removed another unnecessary node function

This commit is contained in:
itsmattkc
2019-11-02 18:12:54 +11:00
parent 16ac2fc0e1
commit 788502cd11
8 changed files with 27 additions and 72 deletions
-24
View File
@@ -290,30 +290,6 @@ QString Node::Code(NodeOutput *output)
return QString();
}
QList<NodeDependency> Node::RunDependencies(NodeOutput *output, const rational &time)
{
Q_UNUSED(output)
QList<NodeDependency> run_deps;
foreach (NodeParam* p, params_) {
if (p->type() == NodeParam::kInput) {
NodeInput* input = static_cast<NodeInput*>(p);
// Check if Node is dependent on this input or not
if (input->dependent()) {
NodeOutput* potential_dep = input->get_connected_output();
if (potential_dep != nullptr) {
run_deps.append(NodeDependency(potential_dep, time, time));
}
}
}
}
return run_deps;
}
bool Node::OutputsTo(Node *n)
{
foreach (NodeParam* param, params_) {