diff options
author | Antonioya <blendergit@gmail.com> | 2019-02-28 14:12:52 +0300 |
---|---|---|
committer | Antonioya <blendergit@gmail.com> | 2019-02-28 19:13:05 +0300 |
commit | acb385839958e3e9f4ce58e4195b30371a7e6969 (patch) | |
tree | 46303c5dfe402fe3bdabeb711d9d49206d5dd27c /source/blender/draw | |
parent | d8f9797c28f176fd890a98f95be1e857958e622a (diff) |
GPencil: Increase outline to 2 pixels
The selection outline of 1 pixel was too thin.
Diffstat (limited to 'source/blender/draw')
-rw-r--r-- | source/blender/draw/engines/gpencil/shaders/gpencil_zdepth_mix_frag.glsl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/draw/engines/gpencil/shaders/gpencil_zdepth_mix_frag.glsl b/source/blender/draw/engines/gpencil/shaders/gpencil_zdepth_mix_frag.glsl index 4497828fbd5..a68c17031ff 100644 --- a/source/blender/draw/engines/gpencil/shaders/gpencil_zdepth_mix_frag.glsl +++ b/source/blender/draw/engines/gpencil/shaders/gpencil_zdepth_mix_frag.glsl @@ -65,7 +65,7 @@ void main() if (do_select == 1) { if (stroke_color.a == 0) { - if (check_borders(uv, 1)) { + if (check_borders(uv, 2)) { FragColor = select_color; gl_FragDepth = 0.000001; } |