Edit Mesh: Fix some problem with new implementation
authorClément Foucault <foucault.clem@gmail.com>
Mon, 4 Feb 2019 19:06:30 +0000 (20:06 +0100)
committerClément Foucault <foucault.clem@gmail.com>
Tue, 5 Feb 2019 14:02:15 +0000 (15:02 +0100)
commita131514d0f79f7b82be526438c125e35beab9f8f
tree16fb27a321d52435ba4f3e3e1f2cbaf4c36572ac
parent112cf6eadff5642af21235aa1cd4eaecd575755d
Edit Mesh: Fix some problem with new implementation

- Add manual depth offset to vertices and edges.
- Revert to plain edge decoration.
- Fix active edge coloring.
- Remove active face display if not in face selection mode.
- Add wide line support.
source/blender/draw/intern/DRW_render.h
source/blender/draw/intern/draw_cache_impl.h
source/blender/draw/intern/draw_manager_exec.c
source/blender/draw/modes/edit_mesh_mode.c
source/blender/draw/modes/shaders/edit_mesh_overlay_common_lib.glsl
source/blender/draw/modes/shaders/edit_mesh_overlay_frag.glsl
source/blender/draw/modes/shaders/edit_mesh_overlay_vert.glsl
source/blender/editors/include/BIF_glutil.h
source/blender/editors/screen/glutil.c