removed last of the NodeOutput dependencies

Since all Nodes have an output that provides all output values now, we now
never need to add an output from a Node derivative. These changes remove the
last of them and disable the ability to add more outputs from a derivative.
This commit is contained in:
itsmattkc
2019-12-06 04:21:55 +11:00
parent 694f424627
commit c32a1c8be2
18 changed files with 83 additions and 240 deletions
+5
View File
@@ -442,6 +442,11 @@ NodeOutput *Node::output() const
return output_;
}
void Node::AddInput(NodeInput *input)
{
AddParameter(input);
}
bool Node::HasParamOfType(NodeParam::Type type, bool must_be_connected) const
{
foreach (NodeParam* p, params_) {