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:
authorTon Roosendaal <ton@blender.org>2003-10-13 18:57:43 +0400
committerTon Roosendaal <ton@blender.org>2003-10-13 18:57:43 +0400
commitceb26d2a4ebc3097f9a1cd675a70e8f179915289 (patch)
tree3b03ce66c4e0981333cbf50d332600014c21a472 /source/blender/src/butspace.c
parent5c2005cf06d786985ebf2213aa25070bdbda2a4f (diff)
- experiment: changed drawing style of Panels to minimal and fully
transparant. - converted the Texture buttons, they're nice too!
Diffstat (limited to 'source/blender/src/butspace.c')
-rw-r--r--source/blender/src/butspace.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/source/blender/src/butspace.c b/source/blender/src/butspace.c
index 134d8bf6553..c221108e703 100644
--- a/source/blender/src/butspace.c
+++ b/source/blender/src/butspace.c
@@ -260,7 +260,7 @@ void do_butspace(unsigned short event)
do_matbuts(event);
}
else if(event<=B_TEXBUTS) {
- //do_texbuts(event);
+ do_texbuts(event);
}
else if(event<=B_ANIMBUTS) {
do_object_panels(event);
@@ -410,7 +410,8 @@ void drawbutspace(ScrArea *sa, void *spacedata)
world_panels();
else if(tab==TAB_SHADING_RAD)
radio_panels();
-
+ else if(tab==TAB_SHADING_TEX)
+ texture_panels();
break;
case CONTEXT_EDITING:
@@ -436,7 +437,7 @@ void drawbutspace(ScrArea *sa, void *spacedata)
/* when align changes, also do this for new panels */
/* don't always align, this function is called during AnmatePanels too */
if(sbuts->align)
- if(sbuts->re_align || sbuts->mainbo!=sbuts->mainb)
+ if(sbuts->re_align || sbuts->mainbo!=sbuts->mainb || sbuts->tabo!=sbuts->tab[sbuts->mainb])
align= 1;
uiDrawBlocksPanels(sa, align);