From a4a9d14ba71100259f19bd62e8c2f27cd8b7862f Mon Sep 17 00:00:00 2001 From: luzpaz Date: Fri, 5 Feb 2021 19:07:03 -0800 Subject: UI: Fix Typos in Comments and Docs Approximately 91 spelling corrections, almost all in comments. Differential Revision: https://developer.blender.org/D10288 Reviewed by Harley Acheson --- source/blender/draw/engines/overlay/shaders/antialiasing_frag.glsl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/draw/engines/overlay/shaders/antialiasing_frag.glsl') diff --git a/source/blender/draw/engines/overlay/shaders/antialiasing_frag.glsl b/source/blender/draw/engines/overlay/shaders/antialiasing_frag.glsl index 2989e07691f..f24aee56bb2 100644 --- a/source/blender/draw/engines/overlay/shaders/antialiasing_frag.glsl +++ b/source/blender/draw/engines/overlay/shaders/antialiasing_frag.glsl @@ -146,7 +146,7 @@ void main() vec4 lines = vec4(neightbor_line0.z, neightbor_line1.z, neightbor_line2.z, neightbor_line3.z); /* Count number of line neighbors. */ float blend = dot(vec4(0.25), step(0.001, lines)); - /* Only do blend if there is more than 2 neighbor. This avoid loosing too much AA. */ + /* Only do blend if there are more than 2 neighbors. This avoids losing too much AA. */ blend = clamp(blend * 2.0 - 1.0, 0.0, 1.0); fragColor = mix(fragColor, fragColor / fragColor.a, blend); } -- cgit v1.2.3