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:
authorAntonioya <blendergit@gmail.com>2019-06-28 15:24:23 +0300
committerAntonioya <blendergit@gmail.com>2019-06-28 15:24:23 +0300
commitdee6fe1441aeb875bcebb8c363ade4e2db4c888e (patch)
tree0931c86822e4df6670320c6e4b499daa778bd972 /source/blender/draw/engines/gpencil/shaders
parent4f3f68df300539472264412f3b79e1024f70eb0d (diff)
GPencil: Rename "Clamp Layer" to "Mask Layer"
The old name was not meaning what this option does. Dtected while writting the manual.
Diffstat (limited to 'source/blender/draw/engines/gpencil/shaders')
-rw-r--r--source/blender/draw/engines/gpencil/shaders/gpencil_blend_frag.glsl4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/draw/engines/gpencil/shaders/gpencil_blend_frag.glsl b/source/blender/draw/engines/gpencil/shaders/gpencil_blend_frag.glsl
index b70a55b51fa..85dee4390a5 100644
--- a/source/blender/draw/engines/gpencil/shaders/gpencil_blend_frag.glsl
+++ b/source/blender/draw/engines/gpencil/shaders/gpencil_blend_frag.glsl
@@ -7,7 +7,7 @@ uniform sampler2D strokeDepth;
uniform sampler2D blendColor;
uniform sampler2D blendDepth;
uniform int mode;
-uniform int clamp_layer;
+uniform int mask_layer;
uniform int tonemapping;
#define ON 1
@@ -142,7 +142,7 @@ void main()
gl_FragDepth = min(stroke_depth, mix_depth);
}
else {
- if (clamp_layer == ON) {
+ if (mask_layer == ON) {
discard;
}
else {