RNA: Add Mesh.count_selected_items()

Needed for context menu checks.
This commit is contained in:
2018-12-17 18:15:41 +11:00
parent 1eafa91f64
commit 54f9e142df
3 changed files with 24 additions and 0 deletions

View File

@@ -212,6 +212,8 @@ int BKE_mesh_mselect_find(struct Mesh *me, int index, int type);
int BKE_mesh_mselect_active_get(struct Mesh *me, int type);
void BKE_mesh_mselect_active_set(struct Mesh *me, int index, int type);
void BKE_mesh_count_selected_items(const struct Mesh *mesh, int r_count[3]);
void BKE_mesh_apply_vert_coords(struct Mesh *mesh, float (*vertCoords)[3]);
void BKE_mesh_apply_vert_normals(struct Mesh *mesh, short (*vertNormals)[3]);