Skip to content

Commit

Permalink
Removing duplicate JSON property for Mask effect, causing double Yes,…
Browse files Browse the repository at this point in the history
…No properties
  • Loading branch information
jonoomph committed Jun 5, 2023
1 parent f831cc2 commit d5a7998
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/effects/Mask.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -262,10 +262,6 @@ std::string Mask::PropertiesJSON(int64_t requested_frame) const {
root["replace_image"]["choices"].append(add_property_choice_json("Yes", true, replace_image));
root["replace_image"]["choices"].append(add_property_choice_json("No", false, replace_image));

// Add replace_image choices (dropdown style)
root["apply_before_clip"]["choices"].append(add_property_choice_json("Yes", true, info.apply_before_clip));
root["apply_before_clip"]["choices"].append(add_property_choice_json("No", false, info.apply_before_clip));

// Keyframes
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, 20, false, requested_frame);
Expand Down

0 comments on commit d5a7998

Please sign in to comment.