diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-02-13 12:09:28 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-02-13 12:12:28 +0400 |
commit | ae8327dbf3afcdb6a6a0335aceeaa58600d7f1d3 (patch) | |
tree | 79ee11570a6ebb3d0ce27aa35e524c0991c17fad /source/blender/makesrna/intern/rna_mask.c | |
parent | c85e66e7fe6d12c8a1b33dec703e9bb342b9953b (diff) |
Mask: add option to detect self intersections
Diffstat (limited to 'source/blender/makesrna/intern/rna_mask.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_mask.c | 5 |
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 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) |