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

_______________________________________________
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