commented out code to enable multiple uiBlocks in window with different
matrices (like action window should have). This one gave error in IpoWindow with Panel.
This commit is contained in:
@@ -2523,8 +2523,8 @@ static int ui_do_block(uiBlock *block, uiEvent *uevent)
|
|||||||
// added this for panels in windows with buttons...
|
// added this for panels in windows with buttons...
|
||||||
// maybe speed optimize should require test
|
// maybe speed optimize should require test
|
||||||
if((block->flag & UI_BLOCK_LOOP)==0) {
|
if((block->flag & UI_BLOCK_LOOP)==0) {
|
||||||
bwin_load_winmatrix(block->win, block->winmat);
|
//bwin_load_winmatrix(block->win, block->winmat);
|
||||||
glLoadIdentity();
|
//glLoadIdentity();
|
||||||
}
|
}
|
||||||
|
|
||||||
Mat4CpyMat4(UIwinmat, block->winmat);
|
Mat4CpyMat4(UIwinmat, block->winmat);
|
||||||
|
|||||||
Reference in New Issue
Block a user