[Bf-blender-cvs] [529669fde74] blender2.8: Edit Mesh: tweak active face edge width

Campbell Barton noreply at git.blender.org
Sun Jun 17 12:31:36 CEST 2018


Commit: 529669fde74b898e2688ef295314a7cee722b948
Author: Campbell Barton
Date:   Sun Jun 17 12:26:49 2018 +0200
Branches: blender2.8
https://developer.blender.org/rB529669fde74b898e2688ef295314a7cee722b948

Edit Mesh: tweak active face edge width

This rewinds a change from own commit e3d88b021c07d
The only took edge overlay into account (crease, seam.. etc)
Currently active-face also uses this width.

While the difference is subtle,
this makes the active-face stand out more clearly.

===================================================================

M	source/blender/draw/modes/shaders/edit_mesh_overlay_frag.glsl

===================================================================

diff --git a/source/blender/draw/modes/shaders/edit_mesh_overlay_frag.glsl b/source/blender/draw/modes/shaders/edit_mesh_overlay_frag.glsl
index 9fa6220da4d..09d0b0a910d 100644
--- a/source/blender/draw/modes/shaders/edit_mesh_overlay_frag.glsl
+++ b/source/blender/draw/modes/shaders/edit_mesh_overlay_frag.glsl
@@ -29,7 +29,7 @@ out vec4 FragColor;
 /* Vertex flag is shifted and combined with the edge flag */
 #define FACE_ACTIVE     (1 << (2 + 8))
 
-#define LARGE_EDGE_SIZE 2.0
+#define LARGE_EDGE_SIZE 3.0
 
 /* Style Parameters in pixel */



More information about the Bf-blender-cvs mailing list