Fix: Missing Null Check
Introduced by my recent commit: {rB3acbe2d1e933}
Lead to crash when insert_keyframe_direct() was called. Keyframing
crashed for NLA special properties (influence, animated_time),
driven properties, etc.
This commit is contained in:
@@ -1206,8 +1206,13 @@ static float *get_keyframe_values(ReportList *reports,
|
|||||||
anim_eval_context,
|
anim_eval_context,
|
||||||
r_force_all,
|
r_force_all,
|
||||||
*r_successful_remaps);
|
*r_successful_remaps);
|
||||||
get_keyframe_values_create_reports(
|
get_keyframe_values_create_reports(reports,
|
||||||
reports, ptr, prop, index, *r_count, *r_force_all, *r_successful_remaps);
|
ptr,
|
||||||
|
prop,
|
||||||
|
index,
|
||||||
|
*r_count,
|
||||||
|
r_force_all ? *r_force_all : false,
|
||||||
|
*r_successful_remaps);
|
||||||
|
|
||||||
return values;
|
return values;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user