add new mask blend mode: 'Merge Subtract'. gives better results when using feather...
[blender.git] / source / blender / makesrna / intern / rna_mask.c
index f197bf8391d6b0b1b51238dcc78a8e062b81d57b..a6571a2db4f42067ef9b34ead54f4917d1282b72 100644 (file)
@@ -580,7 +580,8 @@ static void rna_def_maskSpline(BlenderRNA *brna)
 static void rna_def_mask_layer(BlenderRNA *brna)
 {
        static EnumPropertyItem masklay_blend_mode_items[] = {
-               {MASK_BLEND_MERGE, "MERGE", 0, "Merge", ""},
+               {MASK_BLEND_MERGE_ADD, "MERGE_ADD", 0, "Merge Add", ""},
+               {MASK_BLEND_MERGE_SUBTRACT, "MERGE_SUBTRACT", 0, "Merge Subtract", ""},
                {MASK_BLEND_ADD, "ADD", 0, "Add", ""},
                {MASK_BLEND_SUBTRACT, "SUBTRACT", 0, "Subtract", ""},
                {MASK_BLEND_LIGHTEN, "LIGHTEN", 0, "Lighten", ""},