Made display of object : bone : shapes unique for weight painting and armature posing

This commit is contained in:
Gaia Clary
2013-05-23 18:01:43 +00:00
parent 99b325cebf
commit 0fcc6baa0b

View File

@@ -904,9 +904,9 @@ static void draw_selected_name(Scene *scene, Object *ob, rcti *rect)
}
}
if (name && markern)
BLI_snprintf(info, sizeof(info), "(%d) %s %s <%s>", CFRA, ob->id.name + 2, name, markern);
BLI_snprintf(info, sizeof(info), "(%d) %s : %s <%s>", CFRA, ob->id.name + 2, name, markern);
else if (name)
BLI_snprintf(info, sizeof(info), "(%d) %s %s", CFRA, ob->id.name + 2, name);
BLI_snprintf(info, sizeof(info), "(%d) %s : %s", CFRA, ob->id.name + 2, name);
else
BLI_snprintf(info, sizeof(info), "(%d) %s", CFRA, ob->id.name + 2);
}
@@ -942,9 +942,9 @@ static void draw_selected_name(Scene *scene, Object *ob, rcti *rect)
if (bone_name) {
if (markern)
BLI_snprintf(info, sizeof(info), "(%d) %s : (%s) %s <%s>", CFRA, ob->id.name + 2, bone_name, shapes, markern);
BLI_snprintf(info, sizeof(info), "(%d) %s : %s %s <%s>", CFRA, ob->id.name + 2, bone_name, shapes, markern);
else
BLI_snprintf(info, sizeof(info), "(%d) %s : (%s) %s", CFRA, ob->id.name + 2, bone_name, shapes);
BLI_snprintf(info, sizeof(info), "(%d) %s : %s %s", CFRA, ob->id.name + 2, bone_name, shapes);
}
else {
if (markern)