Older files, saved with old IKs, crashed sometimes on do_versions.

This whole backward conversion stuff is getting nuts! :)
This commit is contained in:
Ton Roosendaal
2005-09-24 14:19:37 +00:00
parent e282f49904
commit 1a82b405fd

View File

@@ -4919,13 +4919,13 @@ static void do_versions(FileData *fd, Library *lib, Main *main)
/* enforce conversion from old IK_TOPARENT to rootbone index */
data->rootbone= -1;
/* update_pose_etc handles rootbone==-1 */
ob->pose->flag |= POSE_RECALC;
}
}
}
}
/* update_pose_etc handles rootbone==-1 */
if(!(ob->pose->flag & POSE_RECALC))
update_pose_constraint_flags(ob->pose);
}
}