diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2019-02-27 01:44:05 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2019-02-27 19:46:17 +0300 |
commit | fe5d26807b44e78800ccca0cc43b265801a37a25 (patch) | |
tree | e4cd291683f4dbfd24c8d70928f7168b19cbc72e /source/blender/draw/intern/draw_common.h | |
parent | 4243c2946393cd7c5c5e7f27249042fb0597bd19 (diff) |
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.
Diffstat (limited to 'source/blender/draw/intern/draw_common.h')
-rw-r--r-- | source/blender/draw/intern/draw_common.h | 2 |
1 files changed, 1 insertions, 1 deletions
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); |