diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-05-02 11:59:20 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-05-02 12:03:03 +0300 |
commit | 85dcdb87d2ee91844e1dc343b8bd48ace2717d77 (patch) | |
tree | c09448f6789a3e67101a9736aac8d4a2ceabca83 /source/blender/editors/interface/interface_templates.c | |
parent | 2bc9396b551ff15cb3fee3eca91aa6357d71ae33 (diff) |
UI: fix operator redo showing empty popovers
Many operators have no options,
showing a popover button with no content isn't good.
Diffstat (limited to 'source/blender/editors/interface/interface_templates.c')
-rw-r--r-- | source/blender/editors/interface/interface_templates.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/interface/interface_templates.c b/source/blender/editors/interface/interface_templates.c index 29a40f4e05f..9167bc43f4a 100644 --- a/source/blender/editors/interface/interface_templates.c +++ b/source/blender/editors/interface/interface_templates.c @@ -1561,7 +1561,7 @@ static void template_operator_redo_property_buts_draw( } } -void uiTemplateOperatorRedoProperties(uiLayout *layout, bContext *C) +void uiTemplateOperatorRedoProperties(uiLayout *layout, const bContext *C) { wmOperator *op = WM_operator_last_redo(C); uiBlock *block = uiLayoutGetBlock(layout); |