use NodeInputArray for tracks as well
These were introduced for the new Block system and make just as much sense for the Track system. They've now been implemented for both.
This commit is contained in:
+11
-1
@@ -65,11 +65,21 @@ int NodeInputArray::IndexOfSubParameter(NodeInput *input) const
|
||||
return sub_params_.indexOf(input);
|
||||
}
|
||||
|
||||
NodeInput *NodeInputArray::ParamAt(int index) const
|
||||
NodeInput *NodeInputArray::At(int index) const
|
||||
{
|
||||
return sub_params_.at(index);
|
||||
}
|
||||
|
||||
NodeInput *NodeInputArray::First() const
|
||||
{
|
||||
return sub_params_.first();
|
||||
}
|
||||
|
||||
NodeInput *NodeInputArray::Last() const
|
||||
{
|
||||
return sub_params_.last();
|
||||
}
|
||||
|
||||
const QVector<NodeInput *> &NodeInputArray::sub_params()
|
||||
{
|
||||
return sub_params_;
|
||||
|
||||
Reference in New Issue
Block a user