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-10-24 10:44:57 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2018-10-24 10:44:57 +0300
commitee18b21201479e87ac8683196bb2f868e63b216b (patch)
treebe5874b561cd02d2d7204aa04227dd8400e46a68 /source/blender/editors/animation/drivers.c
parent8ccb27fc0ad45661f627aff552a0a9615633dea7 (diff)
Fix T57359: Crash adding a Driver and then changing frame
Diffstat (limited to 'source/blender/editors/animation/drivers.c')
-rw-r--r--source/blender/editors/animation/drivers.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/animation/drivers.c b/source/blender/editors/animation/drivers.c
index 97a600f1301..cf4ac21b7af 100644
--- a/source/blender/editors/animation/drivers.c
+++ b/source/blender/editors/animation/drivers.c
@@ -944,6 +944,7 @@ static int add_driver_button_invoke(bContext *C, wmOperator *op, const wmEvent *
if (success) {
/* send updates */
UI_context_update_anim_flag(C);
+ DEG_id_tag_update(ptr.id.data, DEG_TAG_COPY_ON_WRITE);
DEG_relations_tag_update(CTX_data_main(C));
WM_event_add_notifier(C, NC_ANIMATION | ND_FCURVES_ORDER, NULL);
}