From b71f67e6385603a1977bd78d5fae2fe6877eaac8 Mon Sep 17 00:00:00 2001 From: Brenno Date: Thu, 4 Feb 2021 16:24:03 -0300 Subject: [PATCH] Minor fix --- src/effects/Brightness.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/effects/Brightness.cpp b/src/effects/Brightness.cpp index dbb80f37..c1f796f8 100644 --- a/src/effects/Brightness.cpp +++ b/src/effects/Brightness.cpp @@ -163,6 +163,9 @@ std::string Brightness::PropertiesJSON(int64_t requested_frame) const { root["brightness"] = add_property_json("Brightness", brightness.GetValue(requested_frame), "float", "", &brightness, -1.0, 1.0, false, requested_frame); root["contrast"] = add_property_json("Contrast", contrast.GetValue(requested_frame), "float", "", &contrast, 0.0, 100.0, false, requested_frame); + // Set the parent effect which properties this effect will inherit + root["parent_effect_id"] = add_property_json("Parent Effect ID", 0.0, "string", info.parent_effect_id, NULL, -1, -1, false, requested_frame); + // Return formatted string return root.toStyledString(); }