disable keyframing on some parameters
This commit is contained in:
@@ -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()
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user