From 6701e784980a2c8c78b4827bfeb4641eaa38bc7b Mon Sep 17 00:00:00 2001 From: itsmattkc <34096995+itsmattkc@users.noreply.github.com> Date: Sat, 22 Jan 2022 17:16:27 -0800 Subject: [PATCH] opacity: set texture input flag to be not keyframeable --- app/node/effect/opacity/opacityeffect.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/node/effect/opacity/opacityeffect.cpp b/app/node/effect/opacity/opacityeffect.cpp index 7c904c6ad..f951b422b 100644 --- a/app/node/effect/opacity/opacityeffect.cpp +++ b/app/node/effect/opacity/opacityeffect.cpp @@ -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));