diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-08-09 00:38:55 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-08-09 00:38:55 +0400 |
commit | 5e0f254afa8caed1febbe02130cc313a53149efe (patch) | |
tree | 859b5590307db3310e070b258c04697dabaac2a1 /source/blender/editors/sculpt_paint | |
parent | 6cfb7f50d2856068f74125321a348e43b7c9c3d4 (diff) |
utility functions for getting/setting rectangles for operators.
Diffstat (limited to 'source/blender/editors/sculpt_paint')
-rw-r--r-- | source/blender/editors/sculpt_paint/paint_hide.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/source/blender/editors/sculpt_paint/paint_hide.c b/source/blender/editors/sculpt_paint/paint_hide.c index 89c328e71d8..e809267d076 100644 --- a/source/blender/editors/sculpt_paint/paint_hide.c +++ b/source/blender/editors/sculpt_paint/paint_hide.c @@ -398,8 +398,5 @@ void PAINT_OT_hide_show(struct wmOperatorType *ot) RNA_def_enum(ot->srna, "area", area_items, PARTIALVIS_INSIDE, "Area", "Which vertices to hide or show"); - RNA_def_int(ot->srna, "xmin", 0, INT_MIN, INT_MAX, "X Min", "", INT_MIN, INT_MAX); - RNA_def_int(ot->srna, "xmax", 0, INT_MIN, INT_MAX, "X Max", "", INT_MIN, INT_MAX); - RNA_def_int(ot->srna, "ymin", 0, INT_MIN, INT_MAX, "Y Min", "", INT_MIN, INT_MAX); - RNA_def_int(ot->srna, "ymax", 0, INT_MIN, INT_MAX, "Y Max", "", INT_MIN, INT_MAX); + WM_operator_properties_border(ot); } |