diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-09-19 06:32:36 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-09-19 06:33:44 +0300 |
commit | 86590b90aa78c7087a588275030a4f1490e37297 (patch) | |
tree | 560e5cdaf0ac15f2666d2163373e0292f4edb5d5 /source/blender/modifiers/intern/MOD_util.c | |
parent | d8a7e5ee324ef4648a317ef232aae5b5a8ed991f (diff) |
Cleanup: use uint,ushort,uchar for modifiers
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] */ |