From ae8327dbf3afcdb6a6a0335aceeaa58600d7f1d3 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 13 Feb 2014 19:09:28 +1100 Subject: Mask: add option to detect self intersections --- source/blender/makesrna/intern/rna_mask.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'source/blender/makesrna/intern/rna_mask.c') diff --git a/source/blender/makesrna/intern/rna_mask.c b/source/blender/makesrna/intern/rna_mask.c index 0e4db5b50bf..31e6b0e48e2 100644 --- a/source/blender/makesrna/intern/rna_mask.c +++ b/source/blender/makesrna/intern/rna_mask.c @@ -889,6 +889,11 @@ static void rna_def_mask_layer(BlenderRNA *brna) 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); + + prop = RNA_def_property(srna, "use_fill_overlap", PROP_BOOLEAN, PROP_NONE); + RNA_def_property_boolean_sdna(prop, NULL, "flag", MASK_LAYERFLAG_FILL_OVERLAP); + RNA_def_property_ui_text(prop, "Calculate Overlap", "Calculate self intersections and overlap before filling"); + RNA_def_property_update(prop, NC_MASK | NA_EDITED, NULL); } static void rna_def_masklayers(BlenderRNA *brna, PropertyRNA *cprop) -- cgit v1.2.3