removed all dependence on NodeOutputs
If Nodes only have the one output, we don't need to do so much differentiation between them. Previous iteration used outputs as like a distinct function within a Node (e.g. length output would return one result, buffer output would produce a different result - each run different code to produce their results). Now in this iteration, it's more accurate to say a Node is just one function (which seems more appropriate for a node system anyway).
This commit is contained in:
@@ -41,9 +41,6 @@ TransformDistort::TransformDistort()
|
||||
anchor_input_ = new NodeInput("anchor_in");
|
||||
anchor_input_->set_data_type(NodeParam::kVec2);
|
||||
AddParameter(anchor_input_);
|
||||
|
||||
matrix_output_ = new NodeOutput("matrix_out");
|
||||
AddParameter(matrix_output_);
|
||||
}
|
||||
|
||||
Node *TransformDistort::copy() const
|
||||
@@ -71,11 +68,6 @@ QString TransformDistort::Description() const
|
||||
return tr("Apply transformations to position, rotation, and scale.");
|
||||
}
|
||||
|
||||
NodeOutput *TransformDistort::matrix_output()
|
||||
{
|
||||
return matrix_output_;
|
||||
}
|
||||
|
||||
void TransformDistort::Retranslate()
|
||||
{
|
||||
position_input_->set_name(tr("Position"));
|
||||
|
||||
Reference in New Issue
Block a user