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
path: root/source
diff options
context:
space:
mode:
authorAntonioya <blendergit@gmail.com>2019-02-09 13:08:17 +0300
committerAntonioya <blendergit@gmail.com>2019-02-09 13:08:17 +0300
commit1bf8551f00d908609287f01fc65c6800d7dbbdb0 (patch)
tree7250c07490f412afa125357d12b987af8501518e /source
parentb85d5dd9b1a0472b76afa60d29bbbc551ceb6438 (diff)
GP: Missing in previous commit
Diffstat (limited to 'source')
-rw-r--r--source/blender/blenloader/intern/readfile.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c
index 09848683f84..da5d87d4494 100644
--- a/source/blender/blenloader/intern/readfile.c
+++ b/source/blender/blenloader/intern/readfile.c
@@ -6576,6 +6576,7 @@ static void direct_link_gpencil(FileData *fd, bGPdata *gpd)
/* init stroke buffer */
gpd->runtime.sbuffer = NULL;
gpd->runtime.sbuffer_size = 0;
+ gpd->runtime.tot_cp_points = 0;
/* relink palettes (old palettes deprecated, only to convert old files) */
link_list(fd, &gpd->palettes);