chromakey: regen processor on config change

This commit is contained in:
itsmattkc
2022-05-07 09:37:20 -07:00
parent 7c23ad0b51
commit dabd6d5d3d
2 changed files with 6 additions and 3 deletions
+5 -2
View File
@@ -52,8 +52,6 @@ ChromaKeyNode::ChromaKeyNode()
SetInputProperty(kShadowsInput, QStringLiteral("min"), 0.0);
AddInput(kMaskOnlyInput, NodeValue::kBoolean, false);
SetEffectInput(kTextureInput);
}
QString ChromaKeyNode::Name() const
@@ -129,4 +127,9 @@ void ChromaKeyNode::Value(const NodeValueRow &value, const NodeGlobals &globals,
}
}
void ChromaKeyNode::ConfigChanged()
{
GenerateProcessor();
}
} // namespace olive