From 1ca7b6ca858dcbb5ff010f985adc986637c75f32 Mon Sep 17 00:00:00 2001 From: Alexander Gavrilov Date: Tue, 18 Dec 2018 19:51:05 +0300 Subject: Fix T59569: crashes when generate rig. The fix in 9fa408f51b missed one place that needed the check, causing the assert because of incomplete data. --- source/blender/blenkernel/intern/armature_update.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source/blender/blenkernel/intern/armature_update.c') diff --git a/source/blender/blenkernel/intern/armature_update.c b/source/blender/blenkernel/intern/armature_update.c index bf5267c067f..e155c14ce4a 100644 --- a/source/blender/blenkernel/intern/armature_update.c +++ b/source/blender/blenkernel/intern/armature_update.c @@ -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); -- cgit v1.2.3