chromakey: regen processor on config change
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user