[Bf-blender-cvs] [ecc09116b85] greasepencil-object: Remove tagging copy-on-write tag on gpd id Co-authored-by: @yann-lty

Falk David noreply at git.blender.org
Mon Feb 7 18:35:17 CET 2022


Commit: ecc09116b85b27d6f66e907a8cd279e8485d1b49
Author: Falk David
Date:   Mon Feb 7 10:43:26 2022 +0100
Branches: greasepencil-object
https://developer.blender.org/rBecc09116b85b27d6f66e907a8cd279e8485d1b49

Remove tagging copy-on-write tag on gpd id
Co-authored-by: @yann-lty

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

M	source/blender/editors/gpencil/gpencil_sculpt_paint.c

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

diff --git a/source/blender/editors/gpencil/gpencil_sculpt_paint.c b/source/blender/editors/gpencil/gpencil_sculpt_paint.c
index 802f9f72e49..29f34cc2d67 100644
--- a/source/blender/editors/gpencil/gpencil_sculpt_paint.c
+++ b/source/blender/editors/gpencil/gpencil_sculpt_paint.c
@@ -317,7 +317,7 @@ static void gpencil_update_geometry(bGPdata *gpd)
     }
   }
   if (changed) {
-    DEG_id_tag_update(&gpd->id, ID_RECALC_GEOMETRY | ID_RECALC_COPY_ON_WRITE);
+    DEG_id_tag_update(&gpd->id, ID_RECALC_GEOMETRY);
     WM_main_add_notifier(NC_GPENCIL | ND_DATA | NA_EDITED, NULL);
   }
 }
@@ -1360,7 +1360,7 @@ static void gpencil_sculpt_brush_init_stroke(bContext *C, tGP_BrushEditData *gso
         BKE_gpencil_frame_addcopy(gpl, cfra);
         BKE_gpencil_tag_full_update(gpd, gpl, NULL, NULL);
         /* Need tag to recalculate evaluated data to avoid crashes. */
-        DEG_id_tag_update(&gso->gpd->id, ID_RECALC_GEOMETRY | ID_RECALC_COPY_ON_WRITE);
+        DEG_id_tag_update(&gso->gpd->id, ID_RECALC_GEOMETRY);
         WM_event_add_notifier(C, NC_GPENCIL | ND_DATA | NA_EDITED, NULL);
       }
     }



More information about the Bf-blender-cvs mailing list