diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2009-10-21 01:05:22 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2009-10-21 01:05:22 +0400 |
commit | cac0e48dfb0f568ef83ff014647f0193a3a03a66 (patch) | |
tree | cafe3acc27c91238b93cef34268f90e212dc2ac3 /source/blender/editors/include/ED_space_api.h | |
parent | 487a5045c91e1f910e947ed53a2f5b0e652b855b (diff) |
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.
Diffstat (limited to 'source/blender/editors/include/ED_space_api.h')
-rw-r--r-- | source/blender/editors/include/ED_space_api.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/include/ED_space_api.h b/source/blender/editors/include/ED_space_api.h index 04b6be3bcaa..14819206dfa 100644 --- a/source/blender/editors/include/ED_space_api.h +++ b/source/blender/editors/include/ED_space_api.h @@ -60,8 +60,8 @@ void ED_spacetype_userpref(void); void ED_file_init(void); void ED_file_exit(void); -#define REGION_DRAW_PRE 1 -#define REGION_DRAW_POST 0 +#define REGION_DRAW_POST_VIEW 0 +#define REGION_DRAW_POST_PIXEL 1 void *ED_region_draw_cb_activate(struct ARegionType *, void (*draw)(const struct bContext *, struct ARegion *, void *), |