Skip to content

Commit

Permalink
Renamed "Parent Effect ID" to "Parent"
Browse files Browse the repository at this point in the history
  • Loading branch information
BrennoCaldato committed Mar 27, 2021
1 parent aa30682 commit 013a61b
Show file tree
Hide file tree
Showing 16 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion src/effects/Bars.cpp
Expand Up @@ -197,7 +197,7 @@ std::string Bars::PropertiesJSON(int64_t requested_frame) const {
root["bottom"] = add_property_json("Bottom Size", bottom.GetValue(requested_frame), "float", "", &bottom, 0.0, 0.5, 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);
root["parent_effect_id"] = add_property_json("Parent", 0.0, "string", info.parent_effect_id, NULL, -1, -1, false, requested_frame);

// Return formatted string
return root.toStyledString();
Expand Down
2 changes: 1 addition & 1 deletion src/effects/Blur.cpp
Expand Up @@ -244,7 +244,7 @@ std::string Blur::PropertiesJSON(int64_t requested_frame) const {
root["iterations"] = add_property_json("Iterations", iterations.GetValue(requested_frame), "float", "", &iterations, 0, 100, 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);
root["parent_effect_id"] = add_property_json("Parent", 0.0, "string", info.parent_effect_id, NULL, -1, -1, false, requested_frame);

// Return formatted string
return root.toStyledString();
Expand Down
2 changes: 1 addition & 1 deletion src/effects/Brightness.cpp
Expand Up @@ -164,7 +164,7 @@ std::string Brightness::PropertiesJSON(int64_t requested_frame) const {
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);
root["parent_effect_id"] = add_property_json("Parent", 0.0, "string", info.parent_effect_id, NULL, -1, -1, false, requested_frame);

// Return formatted string
return root.toStyledString();
Expand Down
2 changes: 1 addition & 1 deletion src/effects/Caption.cpp
Expand Up @@ -430,7 +430,7 @@ std::string Caption::PropertiesJSON(int64_t requested_frame) const {
root["caption_font"] = add_property_json("Font", 0.0, "font", font_name, NULL, -1, -1, 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);
root["parent_effect_id"] = add_property_json("Parent", 0.0, "string", info.parent_effect_id, NULL, -1, -1, false, requested_frame);

// Return formatted string
return root.toStyledString();
Expand Down
2 changes: 1 addition & 1 deletion src/effects/ChromaKey.cpp
Expand Up @@ -171,7 +171,7 @@ std::string ChromaKey::PropertiesJSON(int64_t requested_frame) const {
root["fuzz"] = add_property_json("Fuzz", fuzz.GetValue(requested_frame), "float", "", &fuzz, 0, 25, 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);
root["parent_effect_id"] = add_property_json("Parent", 0.0, "string", info.parent_effect_id, NULL, -1, -1, false, requested_frame);

// Return formatted string
return root.toStyledString();
Expand Down
2 changes: 1 addition & 1 deletion src/effects/ColorShift.cpp
Expand Up @@ -283,7 +283,7 @@ std::string ColorShift::PropertiesJSON(int64_t requested_frame) const {
root["alpha_y"] = add_property_json("Alpha Y Shift", alpha_y.GetValue(requested_frame), "float", "", &alpha_y, -1, 1, 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);
root["parent_effect_id"] = add_property_json("Parent", 0.0, "string", info.parent_effect_id, NULL, -1, -1, false, requested_frame);

// Return formatted string
return root.toStyledString();
Expand Down
2 changes: 1 addition & 1 deletion src/effects/Crop.cpp
Expand Up @@ -190,7 +190,7 @@ std::string Crop::PropertiesJSON(int64_t requested_frame) const {
root["bottom"] = add_property_json("Bottom Size", bottom.GetValue(requested_frame), "float", "", &bottom, 0.0, 1.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);
root["parent_effect_id"] = add_property_json("Parent", 0.0, "string", info.parent_effect_id, NULL, -1, -1, false, requested_frame);

// Return formatted string
return root.toStyledString();
Expand Down
2 changes: 1 addition & 1 deletion src/effects/Deinterlace.cpp
Expand Up @@ -163,7 +163,7 @@ std::string Deinterlace::PropertiesJSON(int64_t requested_frame) const {
root["isOdd"]["choices"].append(add_property_choice_json("No", false, isOdd));

// 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);
root["parent_effect_id"] = add_property_json("Parent", 0.0, "string", info.parent_effect_id, NULL, -1, -1, false, requested_frame);

// Return formatted string
return root.toStyledString();
Expand Down
2 changes: 1 addition & 1 deletion src/effects/Hue.cpp
Expand Up @@ -165,7 +165,7 @@ std::string Hue::PropertiesJSON(int64_t requested_frame) const {
root["hue"] = add_property_json("Hue", hue.GetValue(requested_frame), "float", "", &hue, 0.0, 1.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);
root["parent_effect_id"] = add_property_json("Parent", 0.0, "string", info.parent_effect_id, NULL, -1, -1, false, requested_frame);

// Return formatted string
return root.toStyledString();
Expand Down
2 changes: 1 addition & 1 deletion src/effects/Mask.cpp
Expand Up @@ -294,7 +294,7 @@ std::string Mask::PropertiesJSON(int64_t requested_frame) const {
root["reader"] = add_property_json("Source", 0.0, "reader", "{}", NULL, 0, 1, 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);
root["parent_effect_id"] = add_property_json("Parent", 0.0, "string", info.parent_effect_id, NULL, -1, -1, false, requested_frame);

// Return formatted string
return root.toStyledString();
Expand Down
2 changes: 1 addition & 1 deletion src/effects/Negate.cpp
Expand Up @@ -114,7 +114,7 @@ std::string Negate::PropertiesJSON(int64_t requested_frame) const {
root["duration"] = add_property_json("Duration", Duration(), "float", "", NULL, 0, 30 * 60 * 60 * 48, true, 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);
root["parent_effect_id"] = add_property_json("Parent", 0.0, "string", info.parent_effect_id, NULL, -1, -1, false, requested_frame);

// Return formatted string
return root.toStyledString();
Expand Down
2 changes: 1 addition & 1 deletion src/effects/Pixelate.cpp
Expand Up @@ -185,7 +185,7 @@ std::string Pixelate::PropertiesJSON(int64_t requested_frame) const {
root["bottom"] = add_property_json("Bottom Margin", bottom.GetValue(requested_frame), "float", "", &bottom, 0.0, 1.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);
root["parent_effect_id"] = add_property_json("Parent", 0.0, "string", info.parent_effect_id, NULL, -1, -1, false, requested_frame);

// Return formatted string
return root.toStyledString();
Expand Down
2 changes: 1 addition & 1 deletion src/effects/Saturation.cpp
Expand Up @@ -236,7 +236,7 @@ std::string Saturation::PropertiesJSON(int64_t requested_frame) const {
root["saturation_B"] = add_property_json("Saturation (Blue)", saturation_B.GetValue(requested_frame), "float", "", &saturation_B, 0.0, 4.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);
root["parent_effect_id"] = add_property_json("Parent", 0.0, "string", info.parent_effect_id, NULL, -1, -1, false, requested_frame);

// Return formatted string
return root.toStyledString();
Expand Down
2 changes: 1 addition & 1 deletion src/effects/Shift.cpp
Expand Up @@ -200,7 +200,7 @@ std::string Shift::PropertiesJSON(int64_t requested_frame) const {
root["y"] = add_property_json("Y Shift", y.GetValue(requested_frame), "float", "", &y, -1, 1, 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);
root["parent_effect_id"] = add_property_json("Parent", 0.0, "string", info.parent_effect_id, NULL, -1, -1, false, requested_frame);

// Return formatted string
return root.toStyledString();
Expand Down
2 changes: 1 addition & 1 deletion src/effects/Stabilizer.cpp
Expand Up @@ -240,7 +240,7 @@ std::string Stabilizer::PropertiesJSON(int64_t requested_frame) const {
root["zoom"] = add_property_json("Zoom", zoom.GetValue(requested_frame), "float", "", &zoom, 0.0, 2.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);
root["parent_effect_id"] = add_property_json("Parent", 0.0, "string", info.parent_effect_id, NULL, -1, -1, false, requested_frame);

// Return formatted string
return root.toStyledString();
Expand Down
2 changes: 1 addition & 1 deletion src/effects/Wave.cpp
Expand Up @@ -188,7 +188,7 @@ std::string Wave::PropertiesJSON(int64_t requested_frame) const {
root["speed_y"] = add_property_json("Vertical speed", speed_y.GetValue(requested_frame), "float", "", &speed_y, 0.0, 300.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);
root["parent_effect_id"] = add_property_json("Parent", 0.0, "string", info.parent_effect_id, NULL, -1, -1, false, requested_frame);

// Return formatted string
return root.toStyledString();
Expand Down

0 comments on commit 013a61b

Please sign in to comment.