[Bf-blender-cvs] [4cadbb0] master: Seriously... Fix building!

Bastien Montagne noreply at git.blender.org
Thu Apr 9 16:18:19 CEST 2015


Commit: 4cadbb03a8e4f6c6e59b3d2e3b48c6376e9b385b
Author: Bastien Montagne
Date:   Thu Apr 9 16:17:51 2015 +0200
Branches: master
https://developer.blender.org/rB4cadbb03a8e4f6c6e59b3d2e3b48c6376e9b385b

Seriously... Fix building!

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

M	source/blender/blenkernel/intern/mesh_mapping.c

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

diff --git a/source/blender/blenkernel/intern/mesh_mapping.c b/source/blender/blenkernel/intern/mesh_mapping.c
index 974e811..ebdbd3a 100644
--- a/source/blender/blenkernel/intern/mesh_mapping.c
+++ b/source/blender/blenkernel/intern/mesh_mapping.c
@@ -63,10 +63,11 @@ UvVertMap *BKE_mesh_uv_vert_map_create(struct MPoly *mpoly, struct MLoop *mloop,
 	unsigned int a;
 	int i, totuv, nverts;
 
-	totuv = 0;
 	bool *winding;
 	BLI_buffer_declare_static(vec2f, tf_uv_buf, BLI_BUFFER_NOP, 32);
 
+	totuv = 0;
+
 	/* generate UvMapVert array */
 	mp = mpoly;
 	for (a = 0; a < totpoly; a++, mp++)




More information about the Bf-blender-cvs mailing list