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;
 }

_______________________________________________
Bf-blender-cvs mailing list
Bf-blender-cvs@blender.org
List details, subscription details or unsubscribe:
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to