Fix T73909: Crash deleting grease pencil layer from dope sheet

This commit is contained in:
2020-02-17 16:48:45 +11:00
parent 60890ccf9d
commit 0b5c2685db

View File

@@ -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 */