Fix mixed weight-paint & pose mode
[blender.git] / source / blender / editors / space_view3d / view3d_draw.c
index af8a33697321dae68295e3f353bc034f37f11bdc..3ffbb67a49232e74605d971d4add8c358782fad4 100644 (file)
@@ -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);
                                                }
                                        }
                                }