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:
@@ -24,7 +24,7 @@ MediaInput::MediaInput()
|
||||
{
|
||||
footage_input_ = new NodeInput("footage_in");
|
||||
footage_input_->set_data_type(NodeInput::kFootage);
|
||||
AddParameter(footage_input_);
|
||||
AddInput(footage_input_);
|
||||
}
|
||||
|
||||
StreamPtr MediaInput::footage()
|
||||
@@ -36,3 +36,8 @@ void MediaInput::SetFootage(StreamPtr f)
|
||||
{
|
||||
footage_input_->set_value_at_time(0, QVariant::fromValue(f));
|
||||
}
|
||||
|
||||
void MediaInput::Retranslate()
|
||||
{
|
||||
footage_input_->set_name(tr("Footage"));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user