[Bf-blender-cvs] [03bb81f08dd] experimental_gp_weight: Fix field name error

Antonio Vazquez noreply at git.blender.org
Wed May 16 10:51:24 CEST 2018


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



More information about the Bf-blender-cvs mailing list