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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user