Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntonioya <blendergit@gmail.com>2019-02-28 14:12:52 +0300
committerAntonioya <blendergit@gmail.com>2019-02-28 19:13:05 +0300
commitacb385839958e3e9f4ce58e4195b30371a7e6969 (patch)
tree46303c5dfe402fe3bdabeb711d9d49206d5dd27c /source/blender/draw
parentd8f9797c28f176fd890a98f95be1e857958e622a (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.glsl2
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;
}