Blender Git Loki

Git Commits -> Revision 3568d56

Revision 3568d56 by Sybren A. Stüvel (master)
July 30, 2019, 14:59 (GMT)
Alembic: transformed chain-of-ifs into switch statement

By having a switch statement that lists all the values of the enum, it is
clear which cases we're not handling, and it also allows for warnings in
the future when the enum expands.

No functional changes.

Commit Details:

Full Hash: 3568d56bccc556e04c61d8f6ac3f005b0ff838b7
Parent Commit: d65a4b5
Lines Changed: +13, -5

1 Modified Path:

/source/blender/alembic/intern/abc_mesh.cc (+13, -5) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021