Commit: ee18b21201479e87ac8683196bb2f868e63b216b
Author: Sergey Sharybin
Date: Wed Oct 24 09:44:57 2018 +0200
Branches: blender2.8
https://developer.blender.org/rBee18b21201479e87ac8683196bb2f868e63b216b
Fix T57359: Crash adding a Driver and then changing frame
===================================================================
M source/blender/editors/animation/drivers.c
===================================================================
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);
}
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs