diff options
Diffstat (limited to 'source/blender/modifiers/intern/MOD_util.c')
-rw-r--r-- | source/blender/modifiers/intern/MOD_util.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/modifiers/intern/MOD_util.c b/source/blender/modifiers/intern/MOD_util.c index 98497a76668..36e712a1958 100644 --- a/source/blender/modifiers/intern/MOD_util.c +++ b/source/blender/modifiers/intern/MOD_util.c @@ -109,11 +109,11 @@ void MOD_get_texture_coords(MappingInfoModifierData *dmd, /* verts are given the UV from the first face that uses them */ for (i = 0, mp = mpoly; i < numPolys; i++, mp++) { - unsigned int fidx = mp->totloop - 1; + uint fidx = mp->totloop - 1; do { - unsigned int lidx = mp->loopstart + fidx; - unsigned int vidx = mloop[lidx].v; + uint lidx = mp->loopstart + fidx; + uint vidx = mloop[lidx].v; if (!BLI_BITMAP_TEST(done, vidx)) { /* remap UVs from [0, 1] to [-1, 1] */ |