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-05-21 14:21:26 +0300
committerClément Foucault <foucault.clem@gmail.com>2018-05-27 00:01:30 +0300
commit0c9974c8cd96c1c089cb3f00fb782df7b8294d6c (patch)
tree80e1ce902c79802c543a5a3c8dcb668ca76e1146 /source/blender/draw/intern/draw_armature.c
parent44935fdfa342307259c4f7163738d5e74374e70a (diff)
Workbench: Shadow: Use depth fail method for manifold objects.
Since this method have no failure case for manifold objects, use it.
Diffstat (limited to 'source/blender/draw/intern/draw_armature.c')
-rw-r--r--source/blender/draw/intern/draw_armature.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/draw/intern/draw_armature.c b/source/blender/draw/intern/draw_armature.c
index 05c7d3892ed..dc3e2e3a877 100644
--- a/source/blender/draw/intern/draw_armature.c
+++ b/source/blender/draw/intern/draw_armature.c
@@ -327,7 +327,7 @@ static void drw_shgroup_bone_custom_solid(
DRW_shgroup_call_dynamic_add(shgrp_geom_solid, final_bonemat, bone_color, hint_color);
}
- geom = DRW_cache_object_edge_detection_get(custom);
+ geom = DRW_cache_object_edge_detection_get(custom, NULL);
if (geom && outline_color[3] > 0.0f) {
DRWShadingGroup *shgrp_geom_wire = shgroup_instance_bone_shape_outline(g_data.passes.bone_outline, geom);
float final_bonemat[4][4], final_color[4];