diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2018-06-05 20:35:08 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2018-06-05 20:35:36 +0300 |
commit | d5ce40a5ed627e9fd37ab094094b2ff5ef286dd2 (patch) | |
tree | 9a9044a73e916eedba2f3ddb2e31048e9babba1a /source/blender/draw/intern/draw_cache.h | |
parent | 7ff07ddd01af7923f32cfff087ec1f566cb4a0a8 (diff) |
Wireframe: Add slider to hide edges from coplanar faces
The default behaviour is to show the same amount of edges as 2.7.
The slider makes it possible to show all edges or even less.
Diffstat (limited to 'source/blender/draw/intern/draw_cache.h')
-rw-r--r-- | source/blender/draw/intern/draw_cache.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/draw/intern/draw_cache.h b/source/blender/draw/intern/draw_cache.h index 7a1c14b5076..705192653f5 100644 --- a/source/blender/draw/intern/draw_cache.h +++ b/source/blender/draw/intern/draw_cache.h @@ -56,6 +56,8 @@ struct Gwn_Batch **DRW_cache_object_surface_material_get( char **auto_layer_names, int **auto_layer_is_srgb, int *auto_layer_count); void DRW_cache_object_face_wireframe_get( Object *ob, struct GPUTexture **r_vert_tx, struct GPUTexture **r_faceid_tx, int *r_tri_count); +void DRW_cache_object_face_wireframe_pretty_get( + Object *ob, struct GPUTexture **r_vert_tx, struct GPUTexture **r_faceid_tx, int *r_tri_count); /* Empties */ struct Gwn_Batch *DRW_cache_plain_axes_get(void); |