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 15:44:12 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-04-19 15:44:12 +0400
commit75b869e428cdb324ec338538efd4ab9dabd7d53a (patch)
tree7e47368e70820c4ee08e8b11abfe72eccb2fcb2b /source/blender/python/bmesh
parentdb2edfcfdec81fb03667a63e70f05ee832bf2586 (diff)
style cleanup: BM_ITER / BM_ITER_INDEX / BMO_ITER
Diffstat (limited to 'source/blender/python/bmesh')
-rw-r--r--source/blender/python/bmesh/bmesh_py_types.c4
-rw-r--r--source/blender/python/bmesh/bmesh_py_types.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/python/bmesh/bmesh_py_types.c b/source/blender/python/bmesh/bmesh_py_types.c
index 6b6fd8a0bd4..e3020fb0e18 100644
--- a/source/blender/python/bmesh/bmesh_py_types.c
+++ b/source/blender/python/bmesh/bmesh_py_types.c
@@ -998,13 +998,13 @@ static PyObject *bpy_bmesh_transform(BPy_BMElem *self, PyObject *args, PyObject
mat_ptr = mat->matrix;
if (!filter_flags) {
- BM_ITER(eve, &iter, self->bm, BM_VERTS_OF_MESH, NULL) {
+ BM_ITER (eve, &iter, self->bm, BM_VERTS_OF_MESH, NULL) {
mul_m4_v3((float (*)[4])mat_ptr, eve->co);
}
}
else {
char filter_flags_ch = (char)filter_flags;
- BM_ITER(eve, &iter, self->bm, BM_VERTS_OF_MESH, NULL) {
+ BM_ITER (eve, &iter, self->bm, BM_VERTS_OF_MESH, NULL) {
if (eve->head.hflag & filter_flags_ch) {
mul_m4_v3((float (*)[4])mat_ptr, eve->co);
}
diff --git a/source/blender/python/bmesh/bmesh_py_types.h b/source/blender/python/bmesh/bmesh_py_types.h
index 0a94b346485..450a1366c31 100644
--- a/source/blender/python/bmesh/bmesh_py_types.h
+++ b/source/blender/python/bmesh/bmesh_py_types.h
@@ -176,7 +176,7 @@ char *BPy_BMElem_StringFromHType(const char htype);
#define BPY_BM_IS_VALID(obj) (LIKELY((obj)->bm != NULL))
#define BM_ITER_BPY_BM_SEQ(ele, iter, bpy_bmelemseq) \
- BM_ITER(ele, iter, (bpy_bmelemseq)->bm, (bpy_bmelemseq)->itype, \
+ BM_ITER (ele, iter, (bpy_bmelemseq)->bm, (bpy_bmelemseq)->itype, \
(bpy_bmelemseq)->py_ele ? ((BPy_BMElem *)(bpy_bmelemseq)->py_ele)->ele : NULL)
#endif /* __BMESH_TYPES_H__ */