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.
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -606,7 +606,9 @@ static int panel_has_tabs(Panel *panel)
|
||||
if(panel==NULL) return 0;
|
||||
|
||||
while(pa) {
|
||||
if(pa->paneltab==panel) return 1;
|
||||
if(pa->active && pa->paneltab==panel) {
|
||||
return 1;
|
||||
}
|
||||
pa= pa->next;
|
||||
}
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user