[Bf-blender-cvs] [607b72584de] greasepencil-object: Missing in previous commit

Antonio Vazquez noreply at git.blender.org
Sun Jan 7 20:27:36 CET 2018


Commit: 607b72584de1cbf38a956de524769d8f2a33ed62
Author: Antonio Vazquez
Date:   Sun Jan 7 17:31:24 2018 +0100
Branches: greasepencil-object
https://developer.blender.org/rB607b72584de1cbf38a956de524769d8f2a33ed62

Missing in previous commit

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

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

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

diff --git a/source/blender/editors/gpencil/drawgpencil.c b/source/blender/editors/gpencil/drawgpencil.c
index 7cb262abb04..57a5555b5d6 100644
--- a/source/blender/editors/gpencil/drawgpencil.c
+++ b/source/blender/editors/gpencil/drawgpencil.c
@@ -1505,8 +1505,8 @@ void ED_gp_draw_primitives(const bContext *C, tGPDprimitive *tgpi, const int typ
 	/* calculate parent position */
 	ED_gpencil_parent_location(obact, tgpi->gpd, tgpi->gpl, tgpw.diff_mat);
 	if (tgpi->gpf) {
-		bGPDstroke *gps = tgpi->gpf->strokes.first;
-		if (gps->totpoints > 0) {
+		tgpw.gps = tgpi->gpf->strokes.first;
+		if (tgpw.gps->totpoints > 0) {
 			tgpw.gpl = tgpi->gpl;
 			tgpw.gpf = tgpi->gpf;
 			tgpw.t_gpf = tgpi->gpf;



More information about the Bf-blender-cvs mailing list