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:
2009-10-20 21:05:22 +00:00
parent 487a5045c9
commit cac0e48dfb
10 changed files with 28 additions and 33 deletions

View File

@@ -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;