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/makesrna/intern/rna_ui.c
parent72369c638d936a76ba58c98b4b89626f6ff28f32 (diff)
parentc1d29ea7835c0f2ebd20531dfe3996c6bbce6b58 (diff)
Merge branch 'master' into blender2.8
Diffstat (limited to 'source/blender/makesrna/intern/rna_ui.c')
-rw-r--r--source/blender/makesrna/intern/rna_ui.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/makesrna/intern/rna_ui.c b/source/blender/makesrna/intern/rna_ui.c
index 9d395f3ec9b..5f4b6ffc41c 100644
--- a/source/blender/makesrna/intern/rna_ui.c
+++ b/source/blender/makesrna/intern/rna_ui.c
@@ -829,8 +829,9 @@ static StructRNA *rna_Menu_register(
memcpy(buf, _menu_descr, description_size);
mt->description = buf;
}
- else
- mt->description = "";
+ else {
+ mt->description = NULL;
+ }
mt->ext.srna = RNA_def_struct_ptr(&BLENDER_RNA, mt->idname, &RNA_Menu);
RNA_def_struct_translation_context(mt->ext.srna, mt->translation_context);