nodeparamview: separated the NodeParamView body into a separate widget for nesting
Will allow display of NodeInputArrays.
This commit is contained in:
@@ -113,6 +113,8 @@ void TrackOutput::SetTrackHeight(const int &height)
|
||||
|
||||
void TrackOutput::Retranslate()
|
||||
{
|
||||
Block::Retranslate();
|
||||
|
||||
block_input_->set_name(tr("Blocks"));
|
||||
muted_input_->set_name(tr("Muted"));
|
||||
}
|
||||
|
||||
@@ -217,6 +217,12 @@ void ViewerOutput::UpdateLength(const rational &length)
|
||||
|
||||
void ViewerOutput::Retranslate()
|
||||
{
|
||||
Node::Retranslate();
|
||||
|
||||
texture_input_->set_name(tr("Texture"));
|
||||
|
||||
samples_input_->set_name(tr("Samples"));
|
||||
|
||||
for (int i=0;i<track_inputs_.size();i++) {
|
||||
QString input_name;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user