diff options
author | Antonio Vazquez <blendergit@gmail.com> | 2022-10-03 11:38:00 +0300 |
---|---|---|
committer | Philipp Oeser <info@graphics-engineer.com> | 2022-10-03 14:14:00 +0300 |
commit | 1bdb5542ff0d13a26fb9f94988cedd679a3172b7 (patch) | |
tree | df169296f65181e3880325f1e88c0d046e34bd48 | |
parent | 3f30c1c042b3852882139d7cabe0c223da1e0e14 (diff) |
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.
-rw-r--r-- | source/blender/editors/gpencil/gpencil_paint.c | 3 |
1 files changed, 2 insertions, 1 deletions
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 ------ */ |