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:
authorClément Foucault <foucault.clem@gmail.com>2018-06-07 14:38:10 +0300
committerClément Foucault <foucault.clem@gmail.com>2018-06-07 14:38:17 +0300
commitc63f804222050c189082daf4c02a513876f69b00 (patch)
tree3f0e620cbb593b0ff20542b951a977ae232145f2
parent508e34d0bf68c837c3b0ece72faaab809df52506 (diff)
Armature: Fix flickering outline on planar custom bones.
-rw-r--r--source/blender/draw/modes/shaders/armature_shape_outline_geom.glsl2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/draw/modes/shaders/armature_shape_outline_geom.glsl b/source/blender/draw/modes/shaders/armature_shape_outline_geom.glsl
index 11924b19cf8..4d6f3e94693 100644
--- a/source/blender/draw/modes/shaders/armature_shape_outline_geom.glsl
+++ b/source/blender/draw/modes/shaders/armature_shape_outline_geom.glsl
@@ -69,7 +69,7 @@ void main(void)
return;
/* Don't outline if concave edge. */
- if (dot(n0, v13) > 0.0)
+ if (dot(n0, v13) > 0.0001)
return;
vec2 thick = vColSize[0].w * (lineThickness / viewportSize);