mathnode: disable method keyframing and connecting

There's probably no situation where these would need keyframing/connecting.
This commit is contained in:
itsmattkc
2020-04-04 04:12:16 +11:00
parent c9c9bd5174
commit 0752b75682
+2
View File
@@ -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);