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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user