From 0752b75682202744cdb16681bb5394c36182a1fc Mon Sep 17 00:00:00 2001 From: itsmattkc Date: Sat, 4 Apr 2020 04:12:16 +1100 Subject: [PATCH] mathnode: disable method keyframing and connecting There's probably no situation where these would need keyframing/connecting. --- app/node/math/math.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/node/math/math.cpp b/app/node/math/math.cpp index ae43c3f3b..7723ec5a5 100644 --- a/app/node/math/math.cpp +++ b/app/node/math/math.cpp @@ -7,6 +7,8 @@ MathNode::MathNode() { // FIXME: Make this a combobox method_in_ = new NodeInput(QStringLiteral("method_in"), NodeParam::kText); + method_in_->SetConnectable(false); + method_in_->set_is_keyframable(false); AddInput(method_in_); param_a_in_ = new NodeInput(QStringLiteral("param_a_in"), NodeParam::kFloat);