From fe5d26807b44e78800ccca0cc43b265801a37a25 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Foucault?= Date: Tue, 26 Feb 2019 23:44:05 +0100 Subject: Armature: Force Transparent bone in wireframe display type/mode This makes the bones transparent when the object or the viewport display type is Wireframe. This is in order to make things consistent. In object mode all bones are fully transparent to not create more visual noise if the scene is complex. Another small addition is that the Bounding Box draw mode now works as expected on armatures. --- source/blender/draw/intern/draw_common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/draw/intern/draw_common.h') diff --git a/source/blender/draw/intern/draw_common.h b/source/blender/draw/intern/draw_common.h index cfef8676bb8..614512a8984 100644 --- a/source/blender/draw/intern/draw_common.h +++ b/source/blender/draw/intern/draw_common.h @@ -175,7 +175,7 @@ typedef struct DRWArmaturePasses { struct DRWPass *relationship_lines; } DRWArmaturePasses; -void DRW_shgroup_armature_object(struct Object *ob, struct ViewLayer *view_layer, struct DRWArmaturePasses passes); +void DRW_shgroup_armature_object(struct Object *ob, struct ViewLayer *view_layer, struct DRWArmaturePasses passes, bool transp); void DRW_shgroup_armature_pose(struct Object *ob, struct DRWArmaturePasses passes, bool transp); void DRW_shgroup_armature_edit(struct Object *ob, struct DRWArmaturePasses passes, bool transp); -- cgit v1.2.3