Fix T58117: Crash with keyframing
This commit is contained in:
parent
6330b715ef
commit
c6f47ffa98
Notes:
blender-bot
2023-02-14 10:04:50 +01:00
Referenced by issue #58117, Crash with keyframing
|
@ -1392,7 +1392,12 @@ static short clear_keyframe(Main *bmain, ReportList *reports, ID *id, bAction *a
|
|||
/* return success */
|
||||
ret++;
|
||||
}
|
||||
|
||||
/* In the case last f-curve wes removed need to inform dependency graph
|
||||
* about relations update, since it needs to get rid of animation operation
|
||||
* for this datablock. */
|
||||
if (adt->action == NULL) {
|
||||
DEG_relations_tag_update(bmain);
|
||||
}
|
||||
/* return success/failure */
|
||||
return ret;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue