Commit: 03bb81f08dd938dd232db0d8928c467e204812f1
Author: Antonio Vazquez
Date:   Wed May 16 10:34:41 2018 +0200
Branches: experimental_gp_weight
https://developer.blender.org/rB03bb81f08dd938dd232db0d8928c467e204812f1

Fix field name error

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

M       source/blender/editors/gpencil/gpencil_edit.c

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

diff --git a/source/blender/editors/gpencil/gpencil_edit.c 
b/source/blender/editors/gpencil/gpencil_edit.c
index 3a8b09b90ee..483b731cde6 100644
--- a/source/blender/editors/gpencil/gpencil_edit.c
+++ b/source/blender/editors/gpencil/gpencil_edit.c
@@ -2382,7 +2382,7 @@ static void gpencil_stroke_copy_point(bGPDstroke *gps, 
bGPDspoint *point, int id
        MDeformVert *dvert, *newdvert;
        
        gps->points = MEM_reallocN(gps->points, sizeof(bGPDspoint) * 
(gps->totpoints + 1));
-       gps->dvert = MEM_reallocN(gps->points, sizeof(MDeformVert) * 
(gps->totpoints + 1));
+       gps->dvert = MEM_reallocN(gps->dvert, sizeof(MDeformVert) * 
(gps->totpoints + 1));
        gps->totpoints++;
        
        dvert = &gps->dvert[idx];

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

Reply via email to