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:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2009-10-14 19:14:06 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2009-10-14 19:14:06 +0400
commit922461830fa801179ca213ef4c208d1d14274c81 (patch)
tree86b992f3500efe522dc0248b81e82c045ace2c90 /source/blender/editors/space_buttons
parentbc0916c630a17a691768b1b55f7925b8f004ad12 (diff)
Scene/Render Buttons:
* Keep Render as default tab instead of Scene. * Remove unnecessary Keying Sets label. * Fix missing scene name in render context path.
Diffstat (limited to 'source/blender/editors/space_buttons')
-rw-r--r--source/blender/editors/space_buttons/buttons_context.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_buttons/buttons_context.c b/source/blender/editors/space_buttons/buttons_context.c
index c6cde9f1c6b..8072853bcb8 100644
--- a/source/blender/editors/space_buttons/buttons_context.c
+++ b/source/blender/editors/space_buttons/buttons_context.c
@@ -777,7 +777,7 @@ void buttons_context_draw(const bContext *C, uiLayout *layout)
name= RNA_struct_name_get_alloc(ptr, namebuf, sizeof(namebuf));
if(name) {
- if(sbuts->mainb != BCONTEXT_SCENE && ptr->type == &RNA_Scene)
+ if(!ELEM(sbuts->mainb, BCONTEXT_RENDER, BCONTEXT_SCENE) && ptr->type == &RNA_Scene)
uiItemL(row, "", icon); /* save some space */
else
uiItemL(row, name, icon);