opacity: set texture input flag to be not keyframeable

This commit is contained in:
itsmattkc
2022-01-22 17:16:27 -08:00
parent bf8dd4fd87
commit 6701e78498
+1 -1
View File
@@ -15,7 +15,7 @@ OpacityEffect::OpacityEffect()
SetNodePositionInContext(math, QPointF(0, 0));
tex_in_pass_ = AddInputPassthrough(NodeInput(math, MathNode::kParamAIn));
tex_in_pass_ = AddInputPassthrough(NodeInput(math, MathNode::kParamAIn), InputFlags(kInputFlagNotKeyframable));
SetInputDataType(tex_in_pass_, NodeValue::kTexture);
value_in_pass_ = AddInputPassthrough(NodeInput(math, MathNode::kParamBIn));