[Bf-blender-cvs] [7790545475b] greasepencil-object: Cleanup: fix merge small mistake

Antonioya noreply at git.blender.org
Tue Aug 28 13:30:30 CEST 2018


Commit: 7790545475bb7bc32e6253675003b186fba93a9a
Author: Antonioya
Date:   Tue Aug 28 13:29:55 2018 +0200
Branches: greasepencil-object
https://developer.blender.org/rB7790545475bb7bc32e6253675003b186fba93a9a

Cleanup: fix merge small mistake

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

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

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

diff --git a/source/blender/editors/gpencil/gpencil_paint.c b/source/blender/editors/gpencil/gpencil_paint.c
index 1c60fe103a4..236e3d7f206 100644
--- a/source/blender/editors/gpencil/gpencil_paint.c
+++ b/source/blender/editors/gpencil/gpencil_paint.c
@@ -803,7 +803,7 @@ static short gp_stroke_addpoint(
 				}
 			}
 			else {
-				if (gps->dvert != NULL) {
+				if (dvert != NULL) {
 					dvert->totweight = 0;
 					dvert->dw = NULL;
 				}



More information about the Bf-blender-cvs mailing list