Minor fix

This commit is contained in:
Brenno
2021-02-04 16:24:03 -03:00
parent 67895f7c23
commit b71f67e638

View File

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