Cycles: svn merge -r41182:41205 ^/trunk/blender
[blender-staging.git] / source / blender / editors / space_buttons / buttons_context.c
index adcba64609e1ec7266540d7c61f2e8ce760b00ba..da38373d0d1c420b6b4b3c8780f435012ad44a0f 100644 (file)
@@ -998,7 +998,7 @@ void buttons_context_draw(const bContext *C, uiLayout *layout)
 
                if(ptr->data) {
                        icon= RNA_struct_ui_icon(ptr->type);
-                       name= RNA_struct_name_get_alloc(ptr, namebuf, sizeof(namebuf));
+                       name= RNA_struct_name_get_alloc(ptr, namebuf, sizeof(namebuf), NULL);
 
                        if(name) {
                                if(!ELEM(sbuts->mainb, BCONTEXT_RENDER, BCONTEXT_SCENE) && ptr->type == &RNA_Scene)