Blender Git Commit Log
Git Commits -> Revision 23c3124
Revision 23c3124 by Clément Foucault (master) November 15, 2018, 23:13 (GMT) |
Edit Mesh: Improve mesh cage drawing / fix errors and cleanup * Fixes vertices with bad coloring. Now vertices draw with depth write so they occlude the underlying face geom overlay, avoiding double drawing the vertex. * Decrease the z_offset of edges so they don't poke too much through geometry. Also delete this offset in ortho view. * Add zoffset to active and selected vertices so they always draw on top if they overlap a non selected vertex. * Fix alpha of edge_fix in vertex selection mode |
Commit Details:
Full Hash: 23c3124b567dc53996f85f52440efa81393bc24e
Parent Commit: 98765e3
Lines Changed: +41, -40
5 Modified Paths:
/source/blender/draw/modes/edit_mesh_mode.c (+21, -18) (Diff)
/source/blender/draw/modes/shaders/edit_mesh_overlay_frag.glsl (+4, -15) (Diff)
/source/blender/draw/modes/shaders/edit_mesh_overlay_geom_tri.glsl (+4, -3) (Diff)
/source/blender/draw/modes/shaders/edit_mesh_overlay_points_vert.glsl (+10, -2) (Diff)
/source/blender/draw/modes/shaders/edit_mesh_overlay_vert.glsl (+2, -2) (Diff)
/source/blender/draw/modes/shaders/edit_mesh_overlay_frag.glsl (+4, -15) (Diff)
/source/blender/draw/modes/shaders/edit_mesh_overlay_geom_tri.glsl (+4, -3) (Diff)
/source/blender/draw/modes/shaders/edit_mesh_overlay_points_vert.glsl (+10, -2) (Diff)
/source/blender/draw/modes/shaders/edit_mesh_overlay_vert.glsl (+2, -2) (Diff)