Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/mesh/mesh_mirror.c
| Context not available. | |||||
| /* sort so we can count unique values */ | /* sort so we can count unique values */ | ||||
| qsort(topo_hash_prev, totvert, sizeof(MirrTopoHash_t), mirrtopo_hash_sort); | qsort(topo_hash_prev, totvert, sizeof(MirrTopoHash_t), mirrtopo_hash_sort); | ||||
| tot_unique = 1; /* account for skiping the first value */ | tot_unique = 1; /* account for skipping the first value */ | ||||
| for (a = 1; a < totvert; a++) { | for (a = 1; a < totvert; a++) { | ||||
| if (topo_hash_prev[a - 1] != topo_hash_prev[a]) { | if (topo_hash_prev[a - 1] != topo_hash_prev[a]) { | ||||
| tot_unique++; | tot_unique++; | ||||
| Context not available. | |||||