- Fix for Wkey menu in WeightPaint modus; it didn't work when the armature

is a modifier only (Armature not parented to Mesh).
  Note; if multiple Modifier/Armatures work, it uses only the first still.

- Armature option 'draw axes' now scales axes to 0.25 of bone length.
This commit is contained in:
2005-10-20 14:58:46 +00:00
parent 7a7dadc107
commit cfab1a9e6a
3 changed files with 7 additions and 4 deletions

View File

@@ -1999,7 +1999,8 @@ void special_editmenu(void)
}
}
else if(G.f & G_WEIGHTPAINT) {
if(ob->parent && (ob->parent->flag & OB_POSEMODE)) {
Object *par= modifiers_isDeformedByArmature(ob);
if(par && (par->flag & OB_POSEMODE)) {
nr= pupmenu("Specials%t|Apply Bone Envelopes to VertexGroups %x1");
if(nr==1) {
Mesh *me= ob->data;