[Bf-blender-cvs] [85d43943dde] master: GPencil: Add missing update in previous commit of task T72897

Antonio Vazquez noreply at git.blender.org
Sun Jan 5 09:47:54 CET 2020


Commit: 85d43943ddec06409099d9bc326cfaed0ac14f8b
Author: Antonio Vazquez
Date:   Sun Jan 5 09:47:36 2020 +0100
Branches: master
https://developer.blender.org/rB85d43943ddec06409099d9bc326cfaed0ac14f8b

GPencil: Add missing update in previous commit of task T72897

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

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 35c743a3af3..e90289de963 100644
--- a/source/blender/editors/animation/anim_channels_edit.c
+++ b/source/blender/editors/animation/anim_channels_edit.c
@@ -1377,6 +1377,9 @@ static void rearrange_gpencil_channels(bAnimContext *ac, eRearrangeAnimChan_Mode
 
     /* free visible layers data */
     BLI_freelistN(&anim_data_visible);
+
+    /* Tag to recalc geometry */
+    DEG_id_tag_update(&gpd->id, ID_RECALC_TRANSFORM | ID_RECALC_GEOMETRY);
   }
 
   /* free GPD channel data */



More information about the Bf-blender-cvs mailing list