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>2020-02-11 13:58:20 +0300
committerAntonio Vazquez <blendergit@gmail.com>2020-02-11 13:58:20 +0300
commit8f3e4c8625fbd67d2162b180dd9f6e4dd16940b0 (patch)
tree99908fda3b249620d7ca98b0e2e20f499dc9552b
parent678ce13c7215c49e1d2812cf0fb07cdc8e09aba6 (diff)
GPencil: Fix typo error in struct name for write
This produced errors loading the mask list.
-rw-r--r--source/blender/blenloader/intern/writefile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenloader/intern/writefile.c b/source/blender/blenloader/intern/writefile.c
index c0eaf331e52..2aa8c95b35c 100644
--- a/source/blender/blenloader/intern/writefile.c
+++ b/source/blender/blenloader/intern/writefile.c
@@ -2728,7 +2728,7 @@ static void write_gpencil(WriteData *wd, bGPdata *gpd)
writelist(wd, DATA, bGPDlayer, &gpd->layers);
LISTBASE_FOREACH (bGPDlayer *, gpl, &gpd->layers) {
/* Write mask list. */
- writelist(wd, DATA, bGPDframe, &gpl->mask_layers);
+ writelist(wd, DATA, bGPDlayer_Mask, &gpl->mask_layers);
/* write this layer's frames to file */
writelist(wd, DATA, bGPDframe, &gpl->frames);
LISTBASE_FOREACH (bGPDframe *, gpf, &gpl->frames) {