Merge branch 'master' into blender2.8
This commit is contained in:
commit
ba01cdc770
|
@ -115,7 +115,8 @@ void BM_uv_element_map_free(struct UvElementMap *vmap);
|
|||
struct UvElement *BM_uv_element_get(struct UvElementMap *map, struct BMFace *efa, struct BMLoop *l);
|
||||
|
||||
bool EDBM_uv_check(struct BMEditMesh *em);
|
||||
struct BMFace *EDBM_uv_active_face_get(struct BMEditMesh *em, const bool sloppy, const bool selected);
|
||||
struct BMFace *EDBM_uv_active_face_get(
|
||||
struct BMEditMesh *em, const bool sloppy, const bool selected);
|
||||
|
||||
void BM_uv_vert_map_free(struct UvVertMap *vmap);
|
||||
struct UvMapVert *BM_uv_vert_map_at_index(struct UvVertMap *vmap, unsigned int v);
|
||||
|
@ -264,6 +265,7 @@ void ED_vgroup_vert_remove(struct Object *ob, struct bDeformGrou
|
|||
float ED_vgroup_vert_weight(struct Object *ob, struct bDeformGroup *dg, int vertnum);
|
||||
void ED_vgroup_vert_active_mirror(struct Object *ob, int def_nr);
|
||||
|
||||
|
||||
/* mesh_data.c */
|
||||
// void ED_mesh_geometry_add(struct Mesh *mesh, struct ReportList *reports, int verts, int edges, int faces);
|
||||
void ED_mesh_polys_add(struct Mesh *mesh, struct ReportList *reports, int count);
|
||||
|
|
|
@ -921,9 +921,10 @@ BMFace *EDBM_uv_active_face_get(BMEditMesh *em, const bool sloppy, const bool se
|
|||
{
|
||||
BMFace *efa = NULL;
|
||||
|
||||
if (!EDBM_uv_check(em))
|
||||
if (!EDBM_uv_check(em)) {
|
||||
return NULL;
|
||||
|
||||
}
|
||||
|
||||
efa = BM_mesh_active_face_get(em->bm, sloppy, selected);
|
||||
|
||||
if (efa) {
|
||||
|
|
Loading…
Reference in New Issue