Merge branch 'master' into blender2.8

This commit is contained in:
2018-11-14 09:50:04 +11:00
18 changed files with 10 additions and 33 deletions

View File

@@ -2259,7 +2259,9 @@ void uiItemM(uiLayout *layout, const char *menuname, const char *name, int icon)
if (layout->root->type == UI_LAYOUT_MENU && !icon)
icon = ICON_BLANK1;
ui_item_menu(layout, name, icon, ui_item_menutype_func, mt, NULL, TIP_(mt->description), false);
ui_item_menu(
layout, name, icon, ui_item_menutype_func, mt, NULL,
mt->description ? TIP_(mt->description) : "", false);
}
/* popover */