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(); }