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>2013-05-17 16:43:58 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-05-17 16:43:58 +0400
commit88d1067f58298b14d1ee47b4a3abbaec52208bf8 (patch)
tree7110738eab13a01fe32c256045f1b72fd1edfaf6 /source/blender/python
parent43748eca2d72af87fb7468b6ba9cbeeb57888137 (diff)
code cleanup: use BM_elem_flag_test rather then accessing 'ele->head.hflag'
Diffstat (limited to 'source/blender/python')
-rw-r--r--source/blender/python/bmesh/bmesh_py_types.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/bmesh/bmesh_py_types.c b/source/blender/python/bmesh/bmesh_py_types.c
index e6f9958d1d1..23631017256 100644
--- a/source/blender/python/bmesh/bmesh_py_types.c
+++ b/source/blender/python/bmesh/bmesh_py_types.c
@@ -1171,7 +1171,7 @@ static PyObject *bpy_bmesh_transform(BPy_BMElem *self, PyObject *args, PyObject
else {
char filter_flags_ch = (char)filter_flags;
BM_ITER_MESH (eve, &iter, self->bm, BM_VERTS_OF_MESH) {
- if (eve->head.hflag & filter_flags_ch) {
+ if (BM_elem_flag_test(eve, filter_flags_ch)) {
mul_m4_v3((float (*)[4])mat_ptr, eve->co);
}
}