[Bf-blender-cvs] [6ba09f8515b] master: Cleanup: Removes double notification

Antonio Vazquez noreply at git.blender.org
Thu Dec 5 10:23:25 CET 2019


Commit: 6ba09f8515bd7968d8f1ef13ff19b5c05898660e
Author: Antonio Vazquez
Date:   Thu Dec 5 10:23:07 2019 +0100
Branches: master
https://developer.blender.org/rB6ba09f8515bd7968d8f1ef13ff19b5c05898660e

Cleanup: Removes double notification

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

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 e0b8d485386..b7ed20d9ec5 100644
--- a/source/blender/editors/animation/anim_channels_edit.c
+++ b/source/blender/editors/animation/anim_channels_edit.c
@@ -3116,7 +3116,6 @@ static int mouse_anim_channels(bContext *C, bAnimContext *ac, int channel_index,
         BKE_gpencil_layer_setactive(gpd, gpl);
         BKE_gpencil_layer_autolock_set(gpd, false);
         DEG_id_tag_update(&gpd->id, ID_RECALC_GEOMETRY);
-        WM_event_add_notifier(C, NC_GPENCIL | ND_DATA | NA_SELECTED, gpd);
       }
 
       /* Grease Pencil updates */



More information about the Bf-blender-cvs mailing list