Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2020-11-17 16:27:40 +0300
committerCampbell Barton <ideasman42@gmail.com>2020-11-17 16:27:40 +0300
commitc12664a37fb78fa9d5ba7d0c73283ecd80d1dcef (patch)
tree4d1303376d2989b36bc8acdf049301ebbf06ca91 /source/blender/editors/include
parent9d716b929de4322aea76b1bc2d5fa207c4ec1b5e (diff)
parent9296ba867462f7ff3c55bc0c9129af4121243bed (diff)
Merge branch 'blender-v2.91-release'
Diffstat (limited to 'source/blender/editors/include')
-rw-r--r--source/blender/editors/include/ED_uvedit.h15
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