- NLA Window:

Added support for Panels, and converted old NKEY menu here.
Also enabled zooming in further, as for Action Window.
(note: this editor can use some work, this action stuff is underdeveloped
and mysterious!)

- UI code
Brought back fix that sets for each Panel a GL matrix for UI code thats
coming after it. This makes system more flexible, and prevents conflicts
with other uiBlocks in a window (like ipo, action).
This will give a tinsy bit more load for moving mouse around... please
report back if this causes troubles.
This commit is contained in:
2004-04-22 12:36:27 +00:00
parent 004307a572
commit b37e9eafeb
5 changed files with 99 additions and 30 deletions

View File

@@ -2523,8 +2523,10 @@ static int ui_do_block(uiBlock *block, uiEvent *uevent)
// 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();
glMatrixMode(GL_PROJECTION);
bwin_load_winmatrix(block->win, block->winmat);
glMatrixMode(GL_MODELVIEW);
glLoadIdentity();
}
Mat4CpyMat4(UIwinmat, block->winmat);