Commit: ba60e5d41bbd7a393514d73664fe2c6e9906f3c4
Author: Antonioya
Date:   Fri Aug 17 13:49:40 2018 +0200
Branches: blender2.8
https://developer.blender.org/rBba60e5d41bbd7a393514d73664fe2c6e9906f3c4

GP: Increase stats file size

For big files, the size of the field for number of points  was not enough

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

M       source/blender/makesdna/DNA_gpencil_types.h

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

diff --git a/source/blender/makesdna/DNA_gpencil_types.h 
b/source/blender/makesdna/DNA_gpencil_types.h
index 204b6e8741f..b1c3239c55c 100644
--- a/source/blender/makesdna/DNA_gpencil_types.h
+++ b/source/blender/makesdna/DNA_gpencil_types.h
@@ -359,9 +359,10 @@ typedef struct bGPdata {
        /* stats */
        short totlayer;
        short totframe;
-       short totstroke;
-       short totpoint;
        char pad_2[6];
+       int   totstroke;
+       int   totpoint;
+       char pad_3[4];
        bGPdata_runtime runtime;
 } bGPdata;

_______________________________________________
Bf-blender-cvs mailing list
Bf-blender-cvs@blender.org
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to