diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2018-05-17 12:11:53 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2018-05-17 12:11:53 +0300 |
commit | 35a298db52094771c34320f8f1dc1d103ba8373c (patch) | |
tree | f9120cc6dfeeff790b1e9c013cf5bd02e114456b /source/blender/draw/intern | |
parent | ba4d215139c09dd5f9012abdb4399e9e16920c3a (diff) |
Armature: Fix non working Wireframe option on bones.
Diffstat (limited to 'source/blender/draw/intern')
-rw-r--r-- | source/blender/draw/intern/draw_armature.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/draw/intern/draw_armature.c b/source/blender/draw/intern/draw_armature.c index abf0a54d95b..d7cc5f0cac6 100644 --- a/source/blender/draw/intern/draw_armature.c +++ b/source/blender/draw/intern/draw_armature.c @@ -1169,7 +1169,9 @@ static void draw_bone_custom_shape( DRW_select_load_id(select_id | BONESEL_BONE); } - drw_shgroup_bone_custom_solid(disp_mat, col_solid, pchan->custom); + if ((boneflag & BONE_DRAWWIRE) == 0) { + drw_shgroup_bone_custom_solid(disp_mat, col_solid, pchan->custom); + } drw_shgroup_bone_custom_wire(disp_mat, col_wire, pchan->custom); if (select_id != -1) { |