nodeparamview: implemented add button

This commit is contained in:
itsmattkc
2022-04-26 14:23:19 -07:00
parent 45b18f6df2
commit d1bb931854
19 changed files with 114 additions and 6 deletions
@@ -25,7 +25,8 @@ const QString ColorDifferenceKeyNode::kShadowsInput = QStringLiteral("shadows_in
const QString ColorDifferenceKeyNode::kHighlightsInput = QStringLiteral("highlights_in");
const QString ColorDifferenceKeyNode::kMaskOnlyInput = QStringLiteral("mask_only_in");
ColorDifferenceKeyNode::ColorDifferenceKeyNode() {
ColorDifferenceKeyNode::ColorDifferenceKeyNode()
{
AddInput(kTextureInput, NodeValue::kTexture, InputFlags(kInputFlagNotKeyframable));
AddInput(kGarbageMatteInput, NodeValue::kTexture, InputFlags(kInputFlagNotKeyframable));
@@ -41,6 +42,9 @@ ColorDifferenceKeyNode::ColorDifferenceKeyNode() {
SetInputProperty(kShadowsInput, QStringLiteral("min"), 0.0);
AddInput(kMaskOnlyInput, NodeValue::kBoolean, false);
SetFlags(kVideoEffect);
SetEffectInput(kTextureInput);
}
Node *ColorDifferenceKeyNode::copy() const
+3
View File
@@ -33,6 +33,9 @@ DespillNode::DespillNode()
AddInput(kMethodInput, NodeValue::kCombo, 0);
AddInput(kPreserveLuminanceInput, NodeValue::kBoolean, false);
SetFlags(kVideoEffect);
SetEffectInput(kTextureInput);
}
Node* DespillNode::copy() const