Commit: 035c237d69d196048cc2b56274aa98b04256f46c
Author: Antonio Vazquez
Date:   Mon Oct 3 10:38:00 2022 +0200
Branches: master
https://developer.blender.org/rB035c237d69d196048cc2b56274aa98b04256f46c

Fix T101548: GPencil new lines in Multiframe editing appear as Onion

The problem was the eval data update only occurs for the 
actual frame and in this case must be for all frames.

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

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

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

diff --git a/source/blender/editors/gpencil/gpencil_paint.c 
b/source/blender/editors/gpencil/gpencil_paint.c
index 80600abcf78..2680c4e91f7 100644
--- a/source/blender/editors/gpencil/gpencil_paint.c
+++ b/source/blender/editors/gpencil/gpencil_paint.c
@@ -1387,7 +1387,8 @@ static void gpencil_stroke_newfrombuffer(tGPsdata *p)
   }
 
   gpencil_update_cache(p->gpd);
-  BKE_gpencil_tag_full_update(p->gpd, gpl, p->gpf, NULL);
+  BKE_gpencil_tag_full_update(
+      p->gpd, gpl, (GPENCIL_MULTIEDIT_SESSIONS_ON(p->gpd)) ? NULL : p->gpf, 
NULL);
 }
 
 /* --- 'Eraser' for 'Paint' Tool ------ */

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

Reply via email to