Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntonio Vazquez <blendergit@gmail.com>2022-10-03 11:38:00 +0300
committerAntonio Vazquez <blendergit@gmail.com>2022-10-03 11:38:00 +0300
commit035c237d69d196048cc2b56274aa98b04256f46c (patch)
treeee6c70dc7ea43a1a88d647fb2bb9aead1b29df95 /source/blender
parent7029f11439c21d64e3d43133209d69eff62026b8 (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.
Diffstat (limited to 'source/blender')
-rw-r--r--source/blender/editors/gpencil/gpencil_paint.c3
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 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 ------ */