Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2014-02-13 04:47:00 +0400
committerCampbell Barton <ideasman42@gmail.com>2014-02-13 04:48:46 +0400
commit108ad3442960ef6ead3015736b3de679146f7a8d (patch)
tree7bc45177392eaf5c97b43a463052e299ded7c500 /source/blender/makesrna/intern/rna_mask.c
parent6ee9d1b69db0064abb03d74dbc365cf860a3c3d9 (diff)
Mask: option not to treat overlapping curves as holes
Diffstat (limited to 'source/blender/makesrna/intern/rna_mask.c')
-rw-r--r--source/blender/makesrna/intern/rna_mask.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_mask.c b/source/blender/makesrna/intern/rna_mask.c
index 16cfbbd5ea6..0e4db5b50bf 100644
--- a/source/blender/makesrna/intern/rna_mask.c
+++ b/source/blender/makesrna/intern/rna_mask.c
@@ -884,6 +884,11 @@ static void rna_def_mask_layer(BlenderRNA *brna)
RNA_def_property_translation_context(prop, BLF_I18NCONTEXT_ID_CURVE); /* Abusing id_curve :/ */
RNA_def_property_update(prop, NC_MASK | NA_EDITED, NULL);
+ /* filling options */
+ prop = RNA_def_property(srna, "use_fill_holes", PROP_BOOLEAN, PROP_NONE);
+ RNA_def_property_boolean_negative_sdna(prop, NULL, "flag", MASK_LAYERFLAG_FILL_DISCRETE);
+ RNA_def_property_ui_text(prop, "Calculate Holes", "Calculate holes when filling overlapping curves");
+ RNA_def_property_update(prop, NC_MASK | NA_EDITED, NULL);
}
static void rna_def_masklayers(BlenderRNA *brna, PropertyRNA *cprop)