Skip to content

Commit d5a7998

Browse files
committed
Removing duplicate JSON property for Mask effect, causing double Yes,No properties
1 parent f831cc2 commit d5a7998

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/effects/Mask.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -262,10 +262,6 @@ std::string Mask::PropertiesJSON(int64_t requested_frame) const {
262262
root["replace_image"]["choices"].append(add_property_choice_json("Yes", true, replace_image));
263263
root["replace_image"]["choices"].append(add_property_choice_json("No", false, replace_image));
264264

265-
// Add replace_image choices (dropdown style)
266-
root["apply_before_clip"]["choices"].append(add_property_choice_json("Yes", true, info.apply_before_clip));
267-
root["apply_before_clip"]["choices"].append(add_property_choice_json("No", false, info.apply_before_clip));
268-
269265
// Keyframes
270266
root["brightness"] = add_property_json("Brightness", brightness.GetValue(requested_frame), "float", "", &brightness, -1.0, 1.0, false, requested_frame);
271267
root["contrast"] = add_property_json("Contrast", contrast.GetValue(requested_frame), "float", "", &contrast, 0, 20, false, requested_frame);

0 commit comments

Comments
 (0)