Code Cleanup: use less confusing names for selection flushing.
This commit is contained in:
@@ -155,7 +155,7 @@ static void select_editbmesh_hook(Object *ob, HookModifierData *hmd)
|
||||
nr++;
|
||||
}
|
||||
|
||||
EDBM_selectmode_flush(em);
|
||||
EDBM_select_flush(em);
|
||||
}
|
||||
|
||||
static int return_editlattice_indexar(Lattice *editlatt, int *tot, int **indexar, float *cent)
|
||||
|
||||
@@ -602,8 +602,8 @@ static void vgroup_select_verts(Object *ob, int select)
|
||||
}
|
||||
|
||||
/* this has to be called, because this function operates on vertices only */
|
||||
if(select) EDBM_selectmode_flush(em); // vertices to edges/faces
|
||||
else EDBM_deselectmode_flush(em);
|
||||
if(select) EDBM_select_flush(em); // vertices to edges/faces
|
||||
else EDBM_deselect_flush(em);
|
||||
}
|
||||
else {
|
||||
if (me->dvert) {
|
||||
|
||||
Reference in New Issue
Block a user