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:
authorBastien Montagne <montagne29@wanadoo.fr>2013-06-14 19:48:03 +0400
committerBastien Montagne <montagne29@wanadoo.fr>2013-06-14 19:48:03 +0400
commitaa8f621dd92e1204de30f06fca87b7b3cccd8f79 (patch)
tree6150bcc4b861b1823a592986c5dd3285d016cc36 /source/blender/editors/space_buttons
parentafc3d10d1ab71b220eeef380ce78798c57aa9404 (diff)
Code cleanup: removed unused B_BUTSPREVIEW event, and moved back rna_SpaceProperties_texture_context_itemf() together with its fellow functions.
Diffstat (limited to 'source/blender/editors/space_buttons')
-rw-r--r--source/blender/editors/space_buttons/buttons_header.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/source/blender/editors/space_buttons/buttons_header.c b/source/blender/editors/space_buttons/buttons_header.c
index 95f0b723828..1d8d2136181 100644
--- a/source/blender/editors/space_buttons/buttons_header.c
+++ b/source/blender/editors/space_buttons/buttons_header.c
@@ -58,7 +58,6 @@
#define B_CONTEXT_SWITCH 101
-#define B_BUTSPREVIEW 102
static void set_texture_context(const bContext *C, SpaceButs *sbuts)
{
@@ -95,7 +94,6 @@ static void do_buttons_buttons(bContext *C, void *UNUSED(arg), int event)
switch (event) {
case B_CONTEXT_SWITCH:
- case B_BUTSPREVIEW:
ED_area_tag_redraw(CTX_wm_area(C));
set_texture_context(C, sbuts);