Cleanup: rename flushing functions for clarity

It wasn't clear how `*_flush` and `*_flush_mode` were different,
rename `*_flush` to `*_flush_from_verts`.
This commit is contained in:
Campbell Barton
2025-09-24 14:21:20 +10:00
parent 8930b1a96a
commit f313540686
13 changed files with 41 additions and 41 deletions

View File

@@ -1452,7 +1452,7 @@ PyDoc_STRVAR(
bpy_bmesh_select_flush_doc,
".. method:: select_flush(select)\n"
"\n"
" Flush selection, independent of the current selection mode.\n"
" Flush selection from vertices, independent of the current selection mode.\n"
"\n"
" :arg select: flush selection or de-selected elements.\n"
" :type select: bool\n");
@@ -1465,7 +1465,7 @@ static PyObject *bpy_bmesh_select_flush(BPy_BMesh *self, PyObject *value)
if ((param = PyC_Long_AsBool(value)) == -1) {
return nullptr;
}
BM_mesh_select_flush(self->bm, param);
BM_mesh_select_flush_from_verts(self->bm, param);
Py_RETURN_NONE;
}