Region post redraw is now split up in a view space and pixel space
part. This fixes a bug where transform help line drawing would not work with view clipping and mess up the z-buffer. This avoids the transform code having to figure out what kind of opengl state is enabled and disable it temporarily.
This commit is contained in:
@@ -151,10 +151,6 @@ void ED_spacetypes_keymap(wmKeyConfig *keyconf)
|
||||
|
||||
/* ********************** custom drawcall api ***************** */
|
||||
|
||||
/* type */
|
||||
#define REGION_DRAW_PRE 1
|
||||
#define REGION_DRAW_POST 0
|
||||
|
||||
typedef struct RegionDrawCB {
|
||||
struct RegionDrawCB *next, *prev;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user