diff options
author | Campbell Barton <campbell@blender.org> | 2022-01-07 07:30:14 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-01-07 09:48:25 +0300 |
commit | 164202831032164ed52108b4a365b9ff9ca4ac84 (patch) | |
tree | 75d6f253896f58c16d95c78b721cd758afbdbe10 /source/blender/io | |
parent | 82858ca3f4e6dc6f840af9306c350900abd491fc (diff) |
Cleanup: use the ELEM macro
Diffstat (limited to 'source/blender/io')
-rw-r--r-- | source/blender/io/alembic/intern/abc_customdata.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/io/alembic/intern/abc_customdata.cc b/source/blender/io/alembic/intern/abc_customdata.cc index 26203864cf8..c3ff64fd0ad 100644 --- a/source/blender/io/alembic/intern/abc_customdata.cc +++ b/source/blender/io/alembic/intern/abc_customdata.cc @@ -620,7 +620,7 @@ AbcUvScope get_uv_scope(const Alembic::AbcGeom::GeometryScope scope, /* kVaryingScope is sometimes used for vertex scopes as the values vary across the vertices. To * be sure, one has to check the size of the data against the number of vertices, as it could * also be a varying attribute across the faces (i.e. one value per face). */ - if ((scope == kVaryingScope || scope == kVertexScope) && indices->size() == config.totvert) { + if ((ELEM(scope, kVaryingScope, kVertexScope)) && indices->size() == config.totvert) { return ABC_UV_SCOPE_VERTEX; } |