diff options
author | Antonio Vazquez <blendergit@gmail.com> | 2020-08-18 14:40:21 +0300 |
---|---|---|
committer | Antonio Vazquez <blendergit@gmail.com> | 2020-08-18 16:13:53 +0300 |
commit | 017941057f8a36925de4d3d7ce6fd16338846bf1 (patch) | |
tree | 840919772ddf7f46088f1c73f67379737b243b5d /source/blender/draw/engines | |
parent | bdf43213b25d21528dfa89dc9aeaa41f8d92116e (diff) |
Fix T79800: Split vertex size for grease pencil
Differential Revision: https://developer.blender.org/D8607
Diffstat (limited to 'source/blender/draw/engines')
-rw-r--r-- | source/blender/draw/engines/overlay/shaders/edit_gpencil_vert.glsl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/draw/engines/overlay/shaders/edit_gpencil_vert.glsl b/source/blender/draw/engines/overlay/shaders/edit_gpencil_vert.glsl index 5818d8eca52..a6161d36a07 100644 --- a/source/blender/draw/engines/overlay/shaders/edit_gpencil_vert.glsl +++ b/source/blender/draw/engines/overlay/shaders/edit_gpencil_vert.glsl @@ -73,7 +73,7 @@ void main() } #ifdef USE_POINTS - gl_PointSize = sizeVertex * 2.0; + gl_PointSize = sizeVertexGpencil * 2.0; if (is_point_dimmed) { finalColor.rgb = clamp(colorUnselect.rgb + vec3(0.3), 0.0, 1.0); |