From 0211a68fb4e6d159df14735d5f2413ea0eeafc3f Mon Sep 17 00:00:00 2001 From: Christoph Lendenfeld Date: Wed, 16 Oct 2024 09:29:45 +0200 Subject: [PATCH] Fix #128805: Missing Depsgraph Update when removing FCurve modifiers The problem was that when removing FCurve modifiers via the python API the Depsgraph wasn't notified. Fixed by tagging the owner ID of the fcurve modifier for an update. Pull Request: https://projects.blender.org/blender/blender/pulls/128984 --- source/blender/makesrna/intern/rna_fcurve.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/source/blender/makesrna/intern/rna_fcurve.cc b/source/blender/makesrna/intern/rna_fcurve.cc index 6522efbbb3b..e1fea4b1b4b 100644 --- a/source/blender/makesrna/intern/rna_fcurve.cc +++ b/source/blender/makesrna/intern/rna_fcurve.cc @@ -773,6 +773,7 @@ static void rna_FCurve_modifiers_remove(FCurve *fcu, ReportList *reports, Pointe } remove_fmodifier(&fcu->modifiers, fcm); + DEG_id_tag_update(fcm_ptr->owner_id, ID_RECALC_ANIMATION); RNA_POINTER_INVALIDATE(fcm_ptr); }