diff options
author | Sergey Sharybin <sergey@blender.org> | 2022-06-22 12:00:26 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey@blender.org> | 2022-06-28 11:55:45 +0300 |
commit | c1ffea157c5be4359a3f265ea4711a8fb5474ad2 (patch) | |
tree | 7a306c2726fae31ac52e23ed69d0264c6f7eae3c /source/blender/makesrna/intern | |
parent | f9076f3869515cd45d69a5a80382e5e3d759c54a (diff) |
Mask editor: Always use smooth drawing
The mask is expected to be always be displayed smooth, and the
option mainly existed for some legacy drivers. IF smooth drawing
causes issues it should be fixed in the drawing code, not as an
option in the interface.
Differential Revision: https://developer.blender.org/D15266
Diffstat (limited to 'source/blender/makesrna/intern')
-rw-r--r-- | source/blender/makesrna/intern/rna_space.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/source/blender/makesrna/intern/rna_space.c b/source/blender/makesrna/intern/rna_space.c index 0b780a3fcc6..70f111359a5 100644 --- a/source/blender/makesrna/intern/rna_space.c +++ b/source/blender/makesrna/intern/rna_space.c @@ -3478,11 +3478,6 @@ static void rna_def_space_mask_info(StructRNA *srna, int noteflag, const char *m RNA_def_property_ui_text(prop, "Edge Display Type", "Display type for mask splines"); RNA_def_property_update(prop, noteflag, NULL); - prop = RNA_def_property(srna, "show_mask_smooth", PROP_BOOLEAN, PROP_NONE); - RNA_def_property_boolean_sdna(prop, NULL, "mask_info.draw_flag", MASK_DRAWFLAG_SMOOTH); - RNA_def_property_ui_text(prop, "Display Smooth Splines", ""); - RNA_def_property_update(prop, noteflag, NULL); - prop = RNA_def_property(srna, "show_mask_spline", PROP_BOOLEAN, PROP_NONE); RNA_def_property_boolean_sdna(prop, NULL, "mask_info.draw_flag", MASK_DRAWFLAG_SPLINE); RNA_def_property_ui_text(prop, "Show Mask Spline", ""); |