Cleanup: Alembic, simplify expression

Change `1 + current_mat++` to `++current_mat`.

No functional changes.
This commit is contained in:
Sybren A. Stüvel 2020-11-06 13:27:03 +01:00
parent 047819e728
commit 94ce248b30
1 changed files with 1 additions and 1 deletions

View File

@ -727,7 +727,7 @@ void AbcMeshReader::assign_facesets_to_mpoly(const ISampleSelector &sample_sel,
const std::string &grp_name = face_sets[i];
if (r_mat_map.find(grp_name) == r_mat_map.end()) {
r_mat_map[grp_name] = 1 + current_mat++;
r_mat_map[grp_name] = ++current_mat;
}
const int assigned_mat = r_mat_map[grp_name];