- Improved cyclic error prints for Armatures

- Improved bone parent error print
This commit is contained in:
2006-11-01 11:41:29 +00:00
parent 2145c35e12
commit cad4d9e5db
2 changed files with 3 additions and 2 deletions

View File

@@ -1209,7 +1209,7 @@ static void ob_parbone(Object *ob, Object *par, float mat[][4])
/* Make sure the bone is still valid */
pchan= get_pose_channel(par->pose, ob->parsubstr);
if (!pchan){
printf ("Bone parent: no bone %s\n", ob->parsubstr);
printf ("Object %s with Bone parent: bone %s doesn't exist\n", ob->id.name+2, ob->parsubstr);
Mat4One(mat);
return;
}