Commit: 1bf8551f00d908609287f01fc65c6800d7dbbdb0
Author: Antonioya
Date:   Sat Feb 9 11:08:17 2019 +0100
Branches: master
https://developer.blender.org/rB1bf8551f00d908609287f01fc65c6800d7dbbdb0

GP: Missing in previous commit

===================================================================

M       source/blender/blenloader/intern/readfile.c

===================================================================

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);

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to