Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2018-11-14 01:50:04 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-11-14 01:54:55 +0300
commitae6e84471ab4fbf7c1f9b16b5184ca2b3040d65c (patch)
treeb4d0ce6b3b994b1f12c1e2bb3c252034a87264c7 /source/blender/windowmanager/intern/wm_menu_type.c
parent72369c638d936a76ba58c98b4b89626f6ff28f32 (diff)
parentc1d29ea7835c0f2ebd20531dfe3996c6bbce6b58 (diff)
Merge branch 'master' into blender2.8
Diffstat (limited to 'source/blender/windowmanager/intern/wm_menu_type.c')
-rw-r--r--source/blender/windowmanager/intern/wm_menu_type.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/windowmanager/intern/wm_menu_type.c b/source/blender/windowmanager/intern/wm_menu_type.c
index c8bce13b27c..020d08f35fa 100644
--- a/source/blender/windowmanager/intern/wm_menu_type.c
+++ b/source/blender/windowmanager/intern/wm_menu_type.c
@@ -61,6 +61,7 @@ MenuType *WM_menutype_find(const char *idname, bool quiet)
bool WM_menutype_add(MenuType *mt)
{
+ BLI_assert((mt->description == NULL) || (mt->description[0]));
BLI_ghash_insert(menutypes_hash, mt->idname, mt);
return true;
}