diff options
author | Campbell Barton <ideasman42@gmail.com> | 2017-04-20 14:12:56 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2017-04-20 14:16:37 +0300 |
commit | 84c464a4b85d4f6f71d33f9a0a3a41b1d046fe60 (patch) | |
tree | 565f6bb7a7d94786a6a7c52d07a4ea4fa42e55e1 /source/blender/draw/modes/shaders | |
parent | 3d17ece53924aae7289d279bf139ca444dd5bf82 (diff) |
Use theme vertex size for lattice & curve vertices
Diffstat (limited to 'source/blender/draw/modes/shaders')
-rw-r--r-- | source/blender/draw/modes/shaders/edit_curve_overlay_loosevert_vert.glsl | 2 | ||||
-rw-r--r-- | source/blender/draw/modes/shaders/edit_lattice_overlay_loosevert_vert.glsl | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/draw/modes/shaders/edit_curve_overlay_loosevert_vert.glsl b/source/blender/draw/modes/shaders/edit_curve_overlay_loosevert_vert.glsl index 1af529e5482..8b6c29e719b 100644 --- a/source/blender/draw/modes/shaders/edit_curve_overlay_loosevert_vert.glsl +++ b/source/blender/draw/modes/shaders/edit_curve_overlay_loosevert_vert.glsl @@ -34,6 +34,6 @@ void main() vertFlag = data; - gl_PointSize = sizeEdgeFix; gl_Position = pPos; + gl_PointSize = sizeVertex; } diff --git a/source/blender/draw/modes/shaders/edit_lattice_overlay_loosevert_vert.glsl b/source/blender/draw/modes/shaders/edit_lattice_overlay_loosevert_vert.glsl index d3fc56d1ee9..b273601c176 100644 --- a/source/blender/draw/modes/shaders/edit_lattice_overlay_loosevert_vert.glsl +++ b/source/blender/draw/modes/shaders/edit_lattice_overlay_loosevert_vert.glsl @@ -34,6 +34,6 @@ void main() vertFlag = data; - gl_PointSize = sizeEdgeFix; + gl_PointSize = sizeVertex; gl_Position = pPos; } |