diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2018-09-05 18:02:00 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2018-09-05 20:00:13 +0300 |
commit | 457df4fa9ba4bebff69caff62c98586d62337f8d (patch) | |
tree | 4bc359a12e035b847521a9ce949a9bd3a655e30b /source/blender/draw/intern/draw_cache_impl_mesh.c | |
parent | c05b9bbcc09f15912c741809646902458ea27958 (diff) |
Edit Mesh: Add support for draw option parameters
The visuals was already implemented but we could not toggle them off.
Diffstat (limited to 'source/blender/draw/intern/draw_cache_impl_mesh.c')
-rw-r--r-- | source/blender/draw/intern/draw_cache_impl_mesh.c | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/source/blender/draw/intern/draw_cache_impl_mesh.c b/source/blender/draw/intern/draw_cache_impl_mesh.c index 1c70d40d6f1..238d2f28c43 100644 --- a/source/blender/draw/intern/draw_cache_impl_mesh.c +++ b/source/blender/draw/intern/draw_cache_impl_mesh.c @@ -1331,29 +1331,6 @@ static bool mesh_render_data_edge_vcos_manifold_pnors( return true; } - -/* First 2 bytes are bit flags - * 3rd is for sharp edges - * 4rd is for creased edges */ -enum { - VFLAG_VERTEX_ACTIVE = 1 << 0, - VFLAG_VERTEX_SELECTED = 1 << 1, - VFLAG_FACE_ACTIVE = 1 << 2, - VFLAG_FACE_SELECTED = 1 << 3, - VFLAG_FACE_FREESTYLE = 1 << 4, -}; - -enum { - VFLAG_EDGE_EXISTS = 1 << 0, - VFLAG_EDGE_ACTIVE = 1 << 1, - VFLAG_EDGE_SELECTED = 1 << 2, - VFLAG_EDGE_SEAM = 1 << 3, - VFLAG_EDGE_SHARP = 1 << 4, - VFLAG_EDGE_FREESTYLE = 1 << 5, - /* Beware to not go over 1 << 7 - * (see gpu_shader_edit_mesh_overlay_geom.glsl) */ -}; - static uchar mesh_render_data_looptri_flag(MeshRenderData *rdata, const BMFace *efa) { uchar fflag = 0; |