Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2012-04-19 17:47:58 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-04-19 17:47:58 +0400
commit475ecbb0ce11d48ef41774ce1f982f992547beca (patch)
tree316c679f1c9e3d581078a2aa0a269caf304a8c2c /source/blender/editors/util
parent9276d7aeb2679a4eecbdd97f0ed699712920e4fb (diff)
remove BM_ITER, BM_ITER_INDEX macros, use ELEM or MESH variants only (the maceros had unused args in both cases).
Diffstat (limited to 'source/blender/editors/util')
-rw-r--r--source/blender/editors/util/crazyspace.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/editors/util/crazyspace.c b/source/blender/editors/util/crazyspace.c
index ee80fe92983..4b03c846f3e 100644
--- a/source/blender/editors/util/crazyspace.c
+++ b/source/blender/editors/util/crazyspace.c
@@ -149,11 +149,11 @@ void crazyspace_set_quats_editmesh(BMEditMesh *em, float *origcos, float *mapped
BM_mesh_elem_index_ensure(em->bm, BM_VERT);
- BM_ITER (v, &iter, em->bm, BM_VERTS_OF_MESH, NULL) {
+ BM_ITER_MESH (v, &iter, em->bm, BM_VERTS_OF_MESH) {
if (!BM_elem_flag_test(v, BM_ELEM_SELECT) || BM_elem_flag_test(v, BM_ELEM_HIDDEN))
continue;
- BM_ITER (l, &liter, em->bm, BM_LOOPS_OF_VERT, v) {
+ BM_ITER_ELEM (l, &liter, v, BM_LOOPS_OF_VERT) {
BMLoop *l2 = BM_face_other_edge_loop(l->f, l->e, v);
/* retrieve mapped coordinates */
@@ -176,7 +176,7 @@ void crazyspace_set_quats_editmesh(BMEditMesh *em, float *origcos, float *mapped
}
index = 0;
- BM_ITER (v, &iter, em->bm, BM_VERTS_OF_MESH, NULL) {
+ BM_ITER_MESH (v, &iter, em->bm, BM_VERTS_OF_MESH) {
if (vert_table[index] != 0)
BM_elem_index_set(v, vert_table[index] - 1); /* set_dirty! */
else