diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-07-15 00:53:52 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-07-15 00:53:52 +0400 |
commit | 41fe8b9ea94fa6877d35a51567cd83b255431306 (patch) | |
tree | f83e3d6e8121b49149b96064755f0b3bb322210c /source/blender/makesrna/intern/rna_mask.c | |
parent | 5e7f8b83edaa82caabfea3bfaa72ff27c8e0e9d1 (diff) |
use a different setting for fill/cyclic - you may want to have unfilled cyclic curves.
Diffstat (limited to 'source/blender/makesrna/intern/rna_mask.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_mask.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_mask.c b/source/blender/makesrna/intern/rna_mask.c index b879d2b19f7..e6fd47985cb 100644 --- a/source/blender/makesrna/intern/rna_mask.c +++ b/source/blender/makesrna/intern/rna_mask.c @@ -566,6 +566,13 @@ static void rna_def_maskSpline(BlenderRNA *brna) RNA_def_property_boolean_sdna(prop, NULL, "flag", MASK_SPLINE_CYCLIC); RNA_def_property_ui_text(prop, "Cyclic", "Make this spline a closed loop"); RNA_def_property_update(prop, 0, "rna_Mask_update_data"); + + /* fill */ + prop = RNA_def_property(srna, "use_fill", PROP_BOOLEAN, PROP_NONE); + RNA_def_property_clear_flag(prop, PROP_ANIMATABLE); + RNA_def_property_boolean_negative_sdna(prop, NULL, "flag", MASK_SPLINE_NOFILL); + RNA_def_property_ui_text(prop, "Fill", "Make this spline filled"); + RNA_def_property_update(prop, 0, "rna_Mask_update_data"); } static void rna_def_mask_layer(BlenderRNA *brna) |