[Bf-blender-cvs] [72273b0] master: Fix building for Windows after 57cff46v (booleans unitialized)

Dalai Felinto noreply at git.blender.org
Mon Jun 20 18:03:19 CEST 2016


Commit: 72273b08cc21467f207cf61243c979cc47b790c5
Author: Dalai Felinto
Date:   Mon Jun 20 13:02:53 2016 -0300
Branches: master
https://developer.blender.org/rB72273b08cc21467f207cf61243c979cc47b790c5

Fix building for Windows after 57cff46v (booleans unitialized)

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

M	source/blender/bmesh/tools/bmesh_decimate_collapse.c

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

diff --git a/source/blender/bmesh/tools/bmesh_decimate_collapse.c b/source/blender/bmesh/tools/bmesh_decimate_collapse.c
index 1c8be09..acb220b 100644
--- a/source/blender/bmesh/tools/bmesh_decimate_collapse.c
+++ b/source/blender/bmesh/tools/bmesh_decimate_collapse.c
@@ -542,8 +542,8 @@ static bool bm_decim_triangulate_begin(BMesh *bm, int *r_edges_tri_tot)
 {
 	BMIter iter;
 	BMFace *f;
-	bool has_quad;
-	bool has_ngon;
+	bool has_quad = false;
+	bool has_ngon = false;
 	bool has_cut = false;
 
 	BLI_assert((bm->elem_index_dirty & BM_VERT) == 0);




More information about the Bf-blender-cvs mailing list