Merge branch 'master' into blender2.8
This commit is contained in:
@@ -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);
|
struct UvElement *BM_uv_element_get(struct UvElementMap *map, struct BMFace *efa, struct BMLoop *l);
|
||||||
|
|
||||||
bool EDBM_uv_check(struct BMEditMesh *em);
|
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);
|
void BM_uv_vert_map_free(struct UvVertMap *vmap);
|
||||||
struct UvMapVert *BM_uv_vert_map_at_index(struct UvVertMap *vmap, unsigned int v);
|
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);
|
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);
|
void ED_vgroup_vert_active_mirror(struct Object *ob, int def_nr);
|
||||||
|
|
||||||
|
|
||||||
/* mesh_data.c */
|
/* mesh_data.c */
|
||||||
// void ED_mesh_geometry_add(struct Mesh *mesh, struct ReportList *reports, int verts, int edges, int faces);
|
// 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);
|
void ED_mesh_polys_add(struct Mesh *mesh, struct ReportList *reports, int count);
|
||||||
|
|||||||
@@ -921,8 +921,9 @@ BMFace *EDBM_uv_active_face_get(BMEditMesh *em, const bool sloppy, const bool se
|
|||||||
{
|
{
|
||||||
BMFace *efa = NULL;
|
BMFace *efa = NULL;
|
||||||
|
|
||||||
if (!EDBM_uv_check(em))
|
if (!EDBM_uv_check(em)) {
|
||||||
return NULL;
|
return NULL;
|
||||||
|
}
|
||||||
|
|
||||||
efa = BM_mesh_active_face_get(em->bm, sloppy, selected);
|
efa = BM_mesh_active_face_get(em->bm, sloppy, selected);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user