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:
parent
0d979b8e6f
commit
1ca7b6ca85
Notes:
blender-bot
2023-02-14 04:25:14 +01:00
Referenced by issue #59569, Blender 2.8 crashes when generate rig
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue