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:
authorAntonio Vazquez <blendergit@gmail.com>2021-02-18 18:15:45 +0300
committerAntonio Vazquez <blendergit@gmail.com>2021-02-18 18:16:02 +0300
commitbcb9e8e1a706dfb5b1ad20b7e3c019cae44cbbec (patch)
treebfcff5c05816de209c28bac9703710a08100fb1d /source/blender/draw
parent74383a332b67d745c0d8ae8a422b13ef646a27ae (diff)
Fix T85769: Grease Pencil Fill option when drawing no longer works
The fill unclamped thickness value was not properly initialized for using with the new antialiasing. The error was introduced in commit 09f7c9385829
Diffstat (limited to 'source/blender/draw')
-rw-r--r--source/blender/draw/engines/gpencil/shaders/gpencil_common_lib.glsl1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/draw/engines/gpencil/shaders/gpencil_common_lib.glsl b/source/blender/draw/engines/gpencil/shaders/gpencil_common_lib.glsl
index 59f07ccb82b..7412959a30b 100644
--- a/source/blender/draw/engines/gpencil/shaders/gpencil_common_lib.glsl
+++ b/source/blender/draw/engines/gpencil/shaders/gpencil_common_lib.glsl
@@ -615,6 +615,7 @@ void fill_vertex()
strokeHardeness = 1.0;
strokeThickness = 1e18;
+ unclampedThickness = 1e20;
strokeAspect = vec2(1.0);
strokePt1 = strokePt2 = vec2(0.0);