Cleanup: pass selectmode directly

Pass instead of editmesh or toolsettings.
Needed for multi edit-mode
This commit is contained in:
2018-03-14 02:02:05 +11:00
parent bf8f5f5142
commit be25a0faa7
9 changed files with 14 additions and 14 deletions

View File

@@ -80,7 +80,7 @@ void EDBM_mesh_normals_update(struct BMEditMesh *em);
void EDBM_mesh_clear(struct BMEditMesh *em);
void EDBM_selectmode_to_scene(struct bContext *C);
void EDBM_mesh_make(struct ToolSettings *ts, struct Object *ob, const bool add_key_index);
void EDBM_mesh_make(struct Object *ob, const int select_mode, const bool add_key_index);
void EDBM_mesh_free(struct BMEditMesh *em);
void EDBM_mesh_load(struct Object *ob);
struct DerivedMesh *EDBM_mesh_deform_dm_get(struct BMEditMesh *em);