UI: fix operator redo showing empty popovers
Many operators have no options, showing a popover button with no content isn't good.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user