Another phase in panelizing all window types. Did lots of small code
fixes, including: - Panel in action window (disabled it, since there's no need for it) - fix: when action was added to mesh with vertex keys, the action couldn't be deleted, nor did action window draw key names - mouse on RVK (key) in Action window: Nkey menu pops as well. This is not a good candidate to put in Panel, no selection possible here. - when you change name of RVK in action window, it shows in IpoWindow too
This commit is contained in:
@@ -2519,6 +2519,13 @@ static int ui_do_block(uiBlock *block, uiEvent *uevent)
|
||||
}
|
||||
|
||||
ui_set_ftf_font(block); // sets just a pointer in ftf lib... the button dont have ftf handles
|
||||
|
||||
// added this for panels in windows with buttons...
|
||||
// maybe speed optimize should require test
|
||||
if((block->flag & UI_BLOCK_LOOP)==0) {
|
||||
bwin_load_winmatrix(block->win, block->winmat);
|
||||
glLoadIdentity();
|
||||
}
|
||||
|
||||
Mat4CpyMat4(UIwinmat, block->winmat);
|
||||
uiPanelPush(block); // push matrix; no return without pop!
|
||||
|
||||
Reference in New Issue
Block a user