[Bf-blender-cvs] [5d5cf530812] master: Fix T89484: NLA "Remove Empty Animation Data" missing Outliner refresh
Philipp Oeser
noreply at git.blender.org
Tue Jun 29 14:39:42 CEST 2021
Commit: 5d5cf5308129f1632cd6e303df52dadf63026675
Author: Philipp Oeser
Date: Mon Jun 28 10:38:46 2021 +0200
Branches: master
https://developer.blender.org/rB5d5cf5308129f1632cd6e303df52dadf63026675
Fix T89484: NLA "Remove Empty Animation Data" missing Outliner refresh
Similar to rBb4530deec478, just add appropriate notifier.
Maniphest Tasks: T89484
Differential Revision: https://developer.blender.org/D11724
===================================================================
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 58e257259c2..136cdefd2ec 100644
--- a/source/blender/editors/animation/anim_channels_edit.c
+++ b/source/blender/editors/animation/anim_channels_edit.c
@@ -2434,6 +2434,7 @@ static int animchannels_clean_empty_exec(bContext *C, wmOperator *UNUSED(op))
/* send notifier that things have changed */
WM_event_add_notifier(C, NC_ANIMATION | ND_ANIMCHAN | NA_EDITED, NULL);
+ WM_event_add_notifier(C, NC_ANIMATION | ND_NLA | NA_REMOVED, NULL);
return OPERATOR_FINISHED;
}
More information about the Bf-blender-cvs
mailing list