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>2008-03-16 14:09:34 +0300
committerTon Roosendaal <ton@blender.org>2008-03-16 14:09:34 +0300
commit92464ed68013d6915da7e1adb677f3b8554d9079 (patch)
treea68c4bfd5125efd5ae4369ec9f83ff178242dd60 /source/blender/src/buttons_editing.c
parent87c54fb78428c8b629dab1ff8013db67ee61c8c6 (diff)
Bugfix #8526
Sometimes a panel could not be moved, this caused by fact that its parent was sometimes not visible. Old bug actually. :) There's a lot of editbutton panels btw... so there it happened.
Diffstat (limited to 'source/blender/src/buttons_editing.c')
-rw-r--r--source/blender/src/buttons_editing.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/src/buttons_editing.c b/source/blender/src/buttons_editing.c
index dc0a772d7da..be9b7680382 100644
--- a/source/blender/src/buttons_editing.c
+++ b/source/blender/src/buttons_editing.c
@@ -6195,6 +6195,9 @@ static void editing_panel_mesh_texface(void)
uiDefButC(block, ROW, REDRAWVIEW3D, "Add", 660,80,60,19, &tf->transp, 2.0, (float)TF_ADD, 0, 0, "Render face transparent and add color of face");
uiDefButC(block, ROW, REDRAWVIEW3D, "Alpha", 720,80,60,19, &tf->transp, 2.0, (float)TF_ALPHA,0, 0, "Render polygon transparent, depending on alpha channel of the texture");
}
+ else
+ uiDefBut(block,LABEL,B_NOP, "(No Active Face)", 10,200,150,19,0,0,0,0,0,"");
+
}
void do_uvcalculationbuts(unsigned short event)