[Bf-blender-cvs] [0b5c2685db5] master: Fix T73909: Crash deleting grease pencil layer from dope sheet

Campbell Barton noreply at git.blender.org
Mon Feb 17 06:49:50 CET 2020


Commit: 0b5c2685db57ff7726bb7d6886b0d4af650c4985
Author: Campbell Barton
Date:   Mon Feb 17 16:48:45 2020 +1100
Branches: master
https://developer.blender.org/rB0b5c2685db57ff7726bb7d6886b0d4af650c4985

Fix T73909: Crash deleting grease pencil layer from dope sheet

===================================================================

M	source/blender/editors/animation/anim_channels_edit.c

===================================================================

diff --git a/source/blender/editors/animation/anim_channels_edit.c b/source/blender/editors/animation/anim_channels_edit.c
index 7a2e4cb5269..0d811ef31e9 100644
--- a/source/blender/editors/animation/anim_channels_edit.c
+++ b/source/blender/editors/animation/anim_channels_edit.c
@@ -1870,7 +1870,7 @@ static int animchannels_delete_exec(bContext *C, wmOperator *UNUSED(op))
     }
   }
 
-  /* cleanup */
+  ANIM_animdata_update(&ac, &anim_data);
   ANIM_animdata_freelist(&anim_data);
 
   /* send notifier that things have changed */



More information about the Bf-blender-cvs mailing list