Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2009-10-21 01:05:22 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2009-10-21 01:05:22 +0400
commitcac0e48dfb0f568ef83ff014647f0193a3a03a66 (patch)
treecafe3acc27c91238b93cef34268f90e212dc2ac3 /source/blender/editors/space_api
parent487a5045c91e1f910e947ed53a2f5b0e652b855b (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/space_api')
-rw-r--r--source/blender/editors/space_api/spacetypes.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/source/blender/editors/space_api/spacetypes.c b/source/blender/editors/space_api/spacetypes.c
index bdcfd20b5f0..f3db414099f 100644
--- a/source/blender/editors/space_api/spacetypes.c
+++ b/source/blender/editors/space_api/spacetypes.c
@@ -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;