disable keyframing on some parameters

This commit is contained in:
itsmattkc
2021-01-24 15:28:01 +11:00
parent 59da13969d
commit 8ccf7562cf
2 changed files with 5 additions and 0 deletions
@@ -33,6 +33,7 @@ TransformDistortNode::TransformDistortNode()
interpolation_input_ = new NodeInput(this, QStringLiteral("interpolation_in"), NodeValue::kCombo, 2);
texture_input_ = new NodeInput(this, QStringLiteral("tex_in"), NodeValue::kTexture);
texture_input_->SetKeyframable(false);
}
void TransformDistortNode::Retranslate()
+4
View File
@@ -30,8 +30,10 @@ ViewerOutput::ViewerOutput() :
operation_stack_(0)
{
texture_input_ = new NodeInput(this, QStringLiteral("tex_in"), NodeValue::kTexture);
texture_input_->SetKeyframable(false);
samples_input_ = new NodeInput(this, QStringLiteral("samples_in"), NodeValue::kSamples);
samples_input_->SetKeyframable(false);
// Create TrackList instances
track_inputs_.resize(Track::kCount);
@@ -41,6 +43,8 @@ ViewerOutput::ViewerOutput() :
// Create track input
NodeInput* track_input = new NodeInput(this, QStringLiteral("track_in_%1").arg(i), NodeValue::kNone);
track_input->SetIsArray(true);
track_input->SetKeyframable(false);
IgnoreInvalidationsFrom(track_input);
track_inputs_.replace(i, track_input);