Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2018-12-04 13:28:23 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2018-12-04 13:28:54 +0300
commitc6f47ffa98d3fe9c83b2e19b9310a133e842685b (patch)
tree6abc5056f19799cf8aa177f4ebebdd083e17bcfd /source/blender/editors/animation
parent6330b715efd32ade93161c815c60e55cc816a7a9 (diff)
Fix T58117: Crash with keyframing
Diffstat (limited to 'source/blender/editors/animation')
-rw-r--r--source/blender/editors/animation/keyframing.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/source/blender/editors/animation/keyframing.c b/source/blender/editors/animation/keyframing.c
index 4bf6c43e348..9faa7a8e8cd 100644
--- a/source/blender/editors/animation/keyframing.c
+++ b/source/blender/editors/animation/keyframing.c
@@ -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;
}