Fix for new UI system and vertexpaint/faceselect/weightpaint/texturepaint
If backbuffer is in use for selection codes, the system switches back to frontbuffer drawing temporally. Is easier solution now. Next commit; fix for new 'zbuffer clipped selection', which also doesnt work after using a pulldown or popup menu.
This commit is contained in:
@@ -41,8 +41,6 @@
|
||||
#define UI_MAX_NAME_STR 64
|
||||
#define UI_ARRAY 29
|
||||
|
||||
|
||||
|
||||
/* uiBut->flag */
|
||||
#define UI_SELECT 1
|
||||
#define UI_MOUSE_OVER 2
|
||||
@@ -51,10 +49,6 @@
|
||||
/* warn: rest of uiBut->flag in BIF_interface.c */
|
||||
|
||||
|
||||
/* block->frontbuf: (only internal here). this signals something was drawn, for flush */
|
||||
#define UI_HAS_DRAWN 1
|
||||
|
||||
|
||||
/* internal panel drawing defines */
|
||||
#define PNL_GRID 4
|
||||
#define PNL_DIST 8
|
||||
@@ -186,7 +180,8 @@ struct uiBlock {
|
||||
int afterval, flag;
|
||||
void *curfont;
|
||||
|
||||
short autofill, win, winq, direction, dt, frontbuf, auto_open, pad; //frontbuf see below
|
||||
short autofill, win, winq, direction, dt;
|
||||
short needflush, auto_open, in_use, pad; //flush see below
|
||||
void *overdraw;
|
||||
|
||||
float xofs, yofs; // offset to parent button
|
||||
|
||||
Reference in New Issue
Block a user