diff options
Diffstat (limited to 'source/blender/editors/include')
-rw-r--r-- | source/blender/editors/include/ED_uvedit.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/source/blender/editors/include/ED_uvedit.h b/source/blender/editors/include/ED_uvedit.h index 629e77bd4f2..a55e97fff72 100644 --- a/source/blender/editors/include/ED_uvedit.h +++ b/source/blender/editors/include/ED_uvedit.h @@ -27,6 +27,7 @@ extern "C" { #endif +struct ARegion; struct ARegionType; struct BMEditMesh; struct BMFace; @@ -233,6 +234,20 @@ void ED_image_draw_cursor(struct ARegion *region, const float cursor[2]); /* uvedit_buttons.c */ void ED_uvedit_buttons_register(struct ARegionType *art); +/* uvedit_islands.c */ +struct UVPackIsland_Params { + uint rotate : 1; + /** -1 not to align to axis, otherwise 0,1 for X,Y. */ + int rotate_align_axis : 2; + uint only_selected_uvs : 1; + uint only_selected_faces : 1; + uint correct_aspect : 1; +}; +void ED_uvedit_pack_islands_multi(const Scene *scene, + Object **objects, + const uint objects_len, + const struct UVPackIsland_Params *params); + #ifdef __cplusplus } #endif |