diff options
author | Campbell Barton <campbell@blender.org> | 2022-03-16 03:58:22 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-03-16 03:58:22 +0300 |
commit | be7855591e3b47e5e72c09555946f75975a8c028 (patch) | |
tree | eb11ff27360e2285cddfe24609bc293b103e9ac0 /source/blender/io/alembic | |
parent | 379bd6d50ce37e07cbc4fb1e1c47c814f6a7530e (diff) |
Cleanup: rename cnt to count
Follow naming from T85728.
Diffstat (limited to 'source/blender/io/alembic')
-rw-r--r-- | source/blender/io/alembic/intern/abc_customdata.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/source/blender/io/alembic/intern/abc_customdata.cc b/source/blender/io/alembic/intern/abc_customdata.cc index ecb1fa0a752..c413fbf0ff9 100644 --- a/source/blender/io/alembic/intern/abc_customdata.cc +++ b/source/blender/io/alembic/intern/abc_customdata.cc @@ -61,7 +61,7 @@ static void get_uvs(const CDStreamConfig &config, MLoop *mloop = config.mloop; if (!config.pack_uvs) { - int cnt = 0; + int count = 0; uvidx.resize(config.totloop); uvs.resize(config.totloop); @@ -70,12 +70,12 @@ static void get_uvs(const CDStreamConfig &config, MPoly ¤t_poly = polygons[i]; MLoopUV *loopuv = mloopuv_array + current_poly.loopstart + current_poly.totloop; - for (int j = 0; j < current_poly.totloop; j++, cnt++) { + for (int j = 0; j < current_poly.totloop; j++, count++) { loopuv--; - uvidx[cnt] = cnt; - uvs[cnt][0] = loopuv->uv[0]; - uvs[cnt][1] = loopuv->uv[1]; + uvidx[count] = count; + uvs[count][0] = loopuv->uv[0]; + uvs[count][1] = loopuv->uv[1]; } } } |