Commit: 1bdb5542ff0d13a26fb9f94988cedd679a3172b7 Author: Antonio Vazquez Date: Mon Oct 3 10:38:00 2022 +0200 Branches: blender-v3.3-release https://developer.blender.org/rB1bdb5542ff0d13a26fb9f94988cedd679a3172b7
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 13ea5179b23..eccf2bc993c 100644 --- a/source/blender/editors/gpencil/gpencil_paint.c +++ b/source/blender/editors/gpencil/gpencil_paint.c @@ -1320,7 +1320,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
