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:
authorFabian Schempp <fabianschempp@googlemail.com>2021-08-20 00:25:38 +0300
committerFabian Schempp <fabianschempp@googlemail.com>2021-08-20 00:25:38 +0300
commitcb66eb8da29fc0a426c588dc7c649b74b4d8149b (patch)
treea0d7e090333827bdc546294e3e0cb647900276d3
parentbfaf97dec934518c4e3c9ca27d9a46286094ed5c (diff)
Fix: changed BMiter to BMOIter in BM_tag_<Elem_Type>_from_operator_slot
-rw-r--r--source/blender/bmesh/intern/bmesh_mesh.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/source/blender/bmesh/intern/bmesh_mesh.c b/source/blender/bmesh/intern/bmesh_mesh.c
index cab2f8cc713..5efb389b0c2 100644
--- a/source/blender/bmesh/intern/bmesh_mesh.c
+++ b/source/blender/bmesh/intern/bmesh_mesh.c
@@ -1491,10 +1491,10 @@ void BM_select_faces(BMesh *bm, const bool *mask)
void BM_tag_vertices(BMesh *bm, const bool *mask)
{
BMIter iter;
- BMEdge *e;
+ BMVert *v;
int i;
- BM_ITER_MESH_INDEX (e, &iter, bm, BM_EDGES_OF_MESH, i) {
- BM_elem_flag_set(e, BM_ELEM_TAG, mask[i]);
+ BM_ITER_MESH_INDEX (v, &iter, bm, BM_VERTS_OF_MESH, i) {
+ BM_elem_flag_set(v, BM_ELEM_TAG, mask[i]);
}
}
@@ -1652,7 +1652,7 @@ void BM_tag_vertices_from_operator_slot(BMesh *bm,
const char *slot,
const int tag)
{
- BMIter iter;
+ BMOIter iter;
BMVert *v;
BM_mesh_elem_hflag_disable_all(bm, BM_VERT, BM_ELEM_TAG, false);
BMO_ITER (v, &iter, b_mesh_operator->slots_out, slot, tag) {
@@ -1665,7 +1665,7 @@ void BM_tag_edges_from_operator_slot(BMesh *bm,
const char *slot,
const int tag)
{
- BMIter iter;
+ BMOIter iter;
BMEdge *e;
BM_mesh_elem_hflag_disable_all(bm, BM_EDGE, BM_ELEM_TAG, false);
BMO_ITER (e, &iter, b_mesh_operator->slots_out, slot, tag) {
@@ -1678,7 +1678,7 @@ void BM_tag_faces_from_operator_slot(BMesh *bm,
const char *slot,
const int tag)
{
- BMIter iter;
+ BMOIter iter;
BMFace *f;
BM_mesh_elem_hflag_disable_all(bm, BM_FACE, BM_ELEM_TAG, false);
BMO_ITER (f, &iter, b_mesh_operator->slots_out, slot, tag) {