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
path: root/source
diff options
context:
space:
mode:
authorJoshua Leung <aligorith@gmail.com>2012-01-22 15:59:30 +0400
committerJoshua Leung <aligorith@gmail.com>2012-01-22 15:59:30 +0400
commit6e5c763e9b2730327e737593a63081f49255aff5 (patch)
tree858fd4ed2a065cd2fa0770842aa60d549b822b9a /source
parent98fd7c294881d0452b0c9eeb3e8b3a6b604567d9 (diff)
Bugfix for r.43592
A typo (?) meant that enum menus, such as the Set Parent (Ctrl P) menu would get shown with empty string labels.
Diffstat (limited to 'source')
-rw-r--r--source/blender/editors/interface/interface_layout.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/interface/interface_layout.c b/source/blender/editors/interface/interface_layout.c
index 20b5bc54661..b40c618c301 100644
--- a/source/blender/editors/interface/interface_layout.c
+++ b/source/blender/editors/interface/interface_layout.c
@@ -715,7 +715,7 @@ static const char *ui_menu_enumpropname(uiLayout *layout, PointerRNA *ptr, Prope
MEM_freeN(item);
}
- return "";
+ return name;
}
/* same as below but 'prop' is already known */