[Bf-blender-cvs] [940f7a6] master: Cleanup: shadowing (unwrap)
Campbell Barton
noreply at git.blender.org
Mon Nov 23 12:19:08 CET 2015
Commit: 940f7a6d5364c8090bd7efbd29423ebeb41d1a96
Author: Campbell Barton
Date: Mon Nov 23 22:12:29 2015 +1100
Branches: master
https://developer.blender.org/rB940f7a6d5364c8090bd7efbd29423ebeb41d1a96
Cleanup: shadowing (unwrap)
===================================================================
M source/blender/editors/uvedit/uvedit_parametrizer.c
===================================================================
diff --git a/source/blender/editors/uvedit/uvedit_parametrizer.c b/source/blender/editors/uvedit/uvedit_parametrizer.c
index bb23391..311c152 100644
--- a/source/blender/editors/uvedit/uvedit_parametrizer.c
+++ b/source/blender/editors/uvedit/uvedit_parametrizer.c
@@ -4180,11 +4180,11 @@ static void p_add_ngon(ParamHandle *handle, ParamKey key, int nverts,
ParamBool *pin, ParamBool *select, const float normal[3])
{
int *boundary = BLI_array_alloca(boundary, nverts);
- int i;
/* boundary vertex indexes */
- for (i = 0; i < nverts; i++)
+ for (int i = 0; i < nverts; i++) {
boundary[i] = i;
+ }
while (nverts > 2) {
float minangle = FLT_MAX;
More information about the Bf-blender-cvs
mailing list