diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-02-08 18:31:09 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-02-08 18:34:32 +0300 |
commit | be2bd5d722bf36e076663a27537860bb1842931e (patch) | |
tree | 8f94eee3e7b5c18ada5c90eccd523a8bf0f08388 /source/blender/editors/space_view3d/view3d_draw.c | |
parent | 92786141159430fa36e59e0229e4bbb84f2f04be (diff) |
Fix mixed weight-paint & pose mode
Diffstat (limited to 'source/blender/editors/space_view3d/view3d_draw.c')
-rw-r--r-- | source/blender/editors/space_view3d/view3d_draw.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/source/blender/editors/space_view3d/view3d_draw.c b/source/blender/editors/space_view3d/view3d_draw.c index af8a3369732..3ffbb67a492 100644 --- a/source/blender/editors/space_view3d/view3d_draw.c +++ b/source/blender/editors/space_view3d/view3d_draw.c @@ -1778,12 +1778,10 @@ static void draw_selected_name( Object *armobj = BKE_object_pose_armature_get(ob); if (armobj) { bArmature *arm = armobj->data; - if (arm->flag & ARM_POSEMODE) { - if (arm->act_bone) { - if (arm->act_bone->layer & arm->layer) { - s += BLI_strcpy_rlen(s, msg_sep); - s += BLI_strcpy_rlen(s, arm->act_bone->name); - } + if (arm->act_bone) { + if (arm->act_bone->layer & arm->layer) { + s += BLI_strcpy_rlen(s, msg_sep); + s += BLI_strcpy_rlen(s, arm->act_bone->name); } } } |