Fix T59569: crashes when generate rig.

The fix in 9fa408f51b missed one place that needed the
check, causing the assert because of incomplete data.
This commit is contained in:
Alexander Gavrilov
2018-12-18 19:51:05 +03:00
parent 0d979b8e6f
commit 1ca7b6ca85

View File

@@ -794,6 +794,10 @@ void BKE_pose_splineik_evaluate(struct Depsgraph *depsgraph,
/* Common part for both original and proxy armatrues. */
static void pose_eval_done_common(struct Depsgraph *depsgraph, Object *object)
{
const bArmature *armature = (bArmature *)object->data;
if (armature->edbo != NULL) {
return;
}
bPose *pose = object->pose;
UNUSED_VARS_NDEBUG(pose);
BLI_assert(pose != NULL);