diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2017-09-22 04:44:06 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2017-09-22 04:44:06 +0300 |
commit | 225e52eaf89039dccf66a4f503fdb7007b1a0394 (patch) | |
tree | cbd8ecbff238a01ca152e2d96c82640339c5f267 /source/blender/draw/modes/shaders | |
parent | 56fd75c85654815feab03aa8bde46df7cd491130 (diff) |
Edit Mesh Mode : Fix GLSL compilation errors
Diffstat (limited to 'source/blender/draw/modes/shaders')
-rw-r--r-- | source/blender/draw/modes/shaders/edit_mesh_overlay_frag.glsl | 2 |
1 files changed, 1 insertions, 1 deletions
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 9df20ff7544..ed7421c1b1d 100644 --- a/source/blender/draw/modes/shaders/edit_mesh_overlay_frag.glsl +++ b/source/blender/draw/modes/shaders/edit_mesh_overlay_frag.glsl @@ -164,7 +164,7 @@ void main() large_edge_color = (edgesBweight[v] > 0.0) ? vec4(colorEdgeBWeight.rgb, edgesBweight[v]) : large_edge_color; large_edge_color = ((flag[v] & EDGE_SEAM) != 0) ? colorEdgeSeam : large_edge_color; - if (large_edge_color != 0.0) { + if (large_edge_color.a != 0.0) { colorDistEdge(large_edge_color, largeEdge); } |