[Bf-blender-cvs] [184006ed18d] greasepencil-object: GPencil: Fix typo error
Antonio Vazquez
noreply at git.blender.org
Wed Oct 2 15:43:19 CEST 2019
Commit: 184006ed18d233ae4587d2875a600d9df2909ac5
Author: Antonio Vazquez
Date: Wed Oct 2 11:11:08 2019 +0200
Branches: greasepencil-object
https://developer.blender.org/rB184006ed18d233ae4587d2875a600d9df2909ac5
GPencil: Fix typo error
===================================================================
M source/blender/makesrna/intern/rna_gpencil.c
===================================================================
diff --git a/source/blender/makesrna/intern/rna_gpencil.c b/source/blender/makesrna/intern/rna_gpencil.c
index d262e30ddb5..382617060be 100644
--- a/source/blender/makesrna/intern/rna_gpencil.c
+++ b/source/blender/makesrna/intern/rna_gpencil.c
@@ -152,7 +152,7 @@ static void rna_GPencil_uv_update(Main *UNUSED(bmain), Scene *UNUSED(scene), Poi
{
/* Force to recalc the UVs. */
bGPDstroke *gps = (bGPDstroke *)ptr->data;
- gps->tot_triangles == 0;
+ gps->tot_triangles = 0;
DEG_id_tag_update(ptr->owner_id, ID_RECALC_GEOMETRY);
WM_main_add_notifier(NC_GPENCIL | NA_EDITED, NULL);
More information about the Bf-blender-cvs
mailing list