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_clip | |
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_clip')
-rw-r--r-- | source/blender/editors/space_clip/clip_toolbar.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_clip/clip_toolbar.c b/source/blender/editors/space_clip/clip_toolbar.c index fbd73ee4315..7d4aa0083f1 100644 --- a/source/blender/editors/space_clip/clip_toolbar.c +++ b/source/blender/editors/space_clip/clip_toolbar.c @@ -193,7 +193,7 @@ void CLIP_OT_tools(wmOperatorType *ot) static void clip_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 clip_panel_operator_redo_header(const bContext *C, Panel *pa) |