diff options
Diffstat (limited to 'source/blender/editors/uvedit')
-rw-r--r-- | source/blender/editors/uvedit/uvedit_parametrizer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/uvedit/uvedit_parametrizer.c b/source/blender/editors/uvedit/uvedit_parametrizer.c index bb233919089..311c152a239 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; |