diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-07-26 02:59:56 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-07-26 04:53:53 +0300 |
commit | dbd79c097c14d486fe79b91b916a9f854587b27e (patch) | |
tree | f3cf68fcccfbe24c8a052bec2ed0c3a155d7dae2 /source/blender/editors/space_view3d | |
parent | 2df27fa6cf85a6b4534302a41d9588b550029b01 (diff) |
WM: Add operator property poll callback
This allows operators to filter out properties from the
auto-generated draw functions.
Some custom draw functions can move to using this.
Diffstat (limited to 'source/blender/editors/space_view3d')
-rw-r--r-- | source/blender/editors/space_view3d/view3d_toolbar.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_view3d/view3d_toolbar.c b/source/blender/editors/space_view3d/view3d_toolbar.c index 02634d1b0d1..02136af958b 100644 --- a/source/blender/editors/space_view3d/view3d_toolbar.c +++ b/source/blender/editors/space_view3d/view3d_toolbar.c @@ -67,7 +67,7 @@ static void view3d_panel_operator_redo_buts(const bContext *C, Panel *pa, wmOperator *op) { - uiTemplateOperatorPropertyButs(C, pa->layout, op, NULL, 'V', 0); + uiTemplateOperatorPropertyButs(C, pa->layout, op, 'V', 0); } static void view3d_panel_operator_redo_header(const bContext *C, Panel *pa) |