diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2020-02-18 00:20:09 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2020-02-18 00:20:14 +0300 |
commit | 9491e7d7c218a77269175e57f2049507455d8ad0 (patch) | |
tree | 7975e8dfead9c7b0ab3b42771d6285f8d9240332 /source/blender | |
parent | a5ac142a31fbeb203ecf1db478974aecd8c2dadb (diff) |
Fix T73914 Overlay: Unable to select bone in pose mode
It was caused by the bone selection overlay that was delaying the
xray pass. But OVERLAY_pose_draw were never called when doing selection.
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/draw/engines/overlay/overlay_armature.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/draw/engines/overlay/overlay_armature.c b/source/blender/draw/engines/overlay/overlay_armature.c index bf763f1f114..1d5fb0ea233 100644 --- a/source/blender/draw/engines/overlay/overlay_armature.c +++ b/source/blender/draw/engines/overlay/overlay_armature.c @@ -2246,7 +2246,7 @@ void OVERLAY_armature_in_front_draw(OVERLAY_Data *vedata) { OVERLAY_PassList *psl = vedata->psl; - if (psl->armature_bone_select_ps == NULL) { + if (psl->armature_bone_select_ps == NULL || DRW_state_is_select()) { DRW_draw_pass(psl->armature_ps[1]); } } |