diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-02-19 23:09:42 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-02-19 23:09:42 +0300 |
commit | 65a4dafcff41f8575263095b62437f854bdeb2b4 (patch) | |
tree | 4a1d2264b3a2ea34cea7f1fc2756fd35f9d890f9 /source/blender/editors/space_view3d/view3d_intern.h | |
parent | 96b58264ca7072e8549e89a4e7ae08f61e1bdc1a (diff) |
fix for empty xyz axis text drawing ontop of everything.
Diffstat (limited to 'source/blender/editors/space_view3d/view3d_intern.h')
-rw-r--r-- | source/blender/editors/space_view3d/view3d_intern.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/editors/space_view3d/view3d_intern.h b/source/blender/editors/space_view3d/view3d_intern.h index 233369e2173..9757a13fc53 100644 --- a/source/blender/editors/space_view3d/view3d_intern.h +++ b/source/blender/editors/space_view3d/view3d_intern.h @@ -107,8 +107,9 @@ void draw_object_backbufsel(Scene *scene, View3D *v3d, RegionView3D *rv3d, Objec void drawaxes(float size, int flag, char drawtype); void view3d_cached_text_draw_begin(void); -void view3d_cached_text_draw_add(float x, float y, float z, char *str, short xoffs); +void view3d_cached_text_draw_add(float x, float y, float z, char *str, short xoffs, short flag); void view3d_cached_text_draw_end(View3D *v3d, ARegion *ar, int depth_write, float mat[][4]); +#define V3D_CACHE_TEXT_ZBUF 1 /* drawarmature.c */ int draw_armature(Scene *scene, View3D *v3d, ARegion *ar, Base *base, int dt, int flag); |