diff options
Diffstat (limited to 'source/blender/draw/engines/gpencil/shaders/gpencil_point_vert.glsl')
-rw-r--r-- | source/blender/draw/engines/gpencil/shaders/gpencil_point_vert.glsl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/draw/engines/gpencil/shaders/gpencil_point_vert.glsl b/source/blender/draw/engines/gpencil/shaders/gpencil_point_vert.glsl index b367d15f1f9..2606bbf878e 100644 --- a/source/blender/draw/engines/gpencil/shaders/gpencil_point_vert.glsl +++ b/source/blender/draw/engines/gpencil/shaders/gpencil_point_vert.glsl @@ -40,7 +40,7 @@ void main() float size = (ProjectionMatrix[3][3] == 0.0) ? (thickness / (gl_Position.z * defaultpixsize)) : (thickness / defaultpixsize); finalThickness = max(size * objscale, 4.0); /* minimum 4 pixels */ } - + /* for wireframe override size and color */ if (shading_type[0] == OB_WIRE) { finalThickness = 2.0; @@ -48,7 +48,7 @@ void main() } /* for solid override color */ if (shading_type[0] == OB_SOLID) { - if ((shading_type[1] != V3D_SHADING_MATERIAL_COLOR) && (shading_type[1] != V3D_SHADING_TEXTURE_COLOR)) { + if ((shading_type[1] != V3D_SHADING_MATERIAL_COLOR) && (shading_type[1] != V3D_SHADING_TEXTURE_COLOR)) { finalColor = wire_color; } if (viewport_xray == 1) { |