Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/include/ED_uvedit.h
| Show First 20 Lines • Show All 112 Lines • ▼ Show 20 Lines | |||||
| void ED_uvedit_get_aspect(struct Scene *scene, struct Object *ob, struct BMesh *em, float *aspx, float *aspy); | void ED_uvedit_get_aspect(struct Scene *scene, struct Object *ob, struct BMesh *em, float *aspx, float *aspy); | ||||
| /* uvedit_unwrap_ops.c */ | /* uvedit_unwrap_ops.c */ | ||||
| void ED_uvedit_live_unwrap_begin(struct Scene *scene, struct Object *obedit); | void ED_uvedit_live_unwrap_begin(struct Scene *scene, struct Object *obedit); | ||||
| void ED_uvedit_live_unwrap_re_solve(void); | void ED_uvedit_live_unwrap_re_solve(void); | ||||
| void ED_uvedit_live_unwrap_end(short cancel); | void ED_uvedit_live_unwrap_end(short cancel); | ||||
| void ED_uvedit_live_unwrap(struct Scene *scene, struct Object *obedit); | void ED_uvedit_live_unwrap(struct Scene *scene, struct Object *obedit); | ||||
| void ED_uvedit_pack_islands( | void ED_uvedit_pack_islands_single( | ||||
| struct Scene *scene, struct Object *ob, struct BMesh *bm, bool selected, bool correct_aspect, bool do_rotate); | struct Scene *scene, struct Object *ob, struct BMesh *bm, bool selected, bool correct_aspect, bool do_rotate); | ||||
| void ED_uvedit_pack_islands_multi( | |||||
| struct Scene *scene, struct Object **objects, const uint objects_len, | |||||
| bool selected, bool correct_aspect, bool do_rotate); | |||||
| void ED_uvedit_unwrap_cube_project( | void ED_uvedit_unwrap_cube_project( | ||||
| struct BMesh *bm, float cube_size, bool use_select, const float center[3]); | struct BMesh *bm, float cube_size, bool use_select, const float center[3]); | ||||
| /* single call up unwrap using scene settings, used for edge tag unwrapping */ | /* single call up unwrap using scene settings, used for edge tag unwrapping */ | ||||
| void ED_unwrap_lscm(struct Scene *scene, struct Object *obedit, const short sel); | void ED_unwrap_lscm(struct Scene *scene, struct Object *obedit, const short sel, const bool pack); | ||||
| /* uvedit_draw.c */ | /* uvedit_draw.c */ | ||||
| void ED_image_draw_cursor( | void ED_image_draw_cursor( | ||||
| struct ARegion *ar, const float cursor[2]); | struct ARegion *ar, const float cursor[2]); | ||||
| void ED_uvedit_draw_main( | void ED_uvedit_draw_main( | ||||
| struct SpaceImage *sima, const struct EvaluationContext *eval_ctx, | struct SpaceImage *sima, const struct EvaluationContext *eval_ctx, | ||||
| struct ARegion *ar, struct Scene *scene, struct ViewLayer *view_layer, | struct ARegion *ar, struct Scene *scene, struct ViewLayer *view_layer, | ||||
| struct Object *obedit, struct Object *obact, struct Depsgraph *depsgraph); | struct Object *obedit, struct Object *obact, struct Depsgraph *depsgraph); | ||||
| /* uvedit_buttons.c */ | /* uvedit_buttons.c */ | ||||
| void ED_uvedit_buttons_register(struct ARegionType *art); | void ED_uvedit_buttons_register(struct ARegionType *art); | ||||
| #endif /* __ED_UVEDIT_H__ */ | #endif /* __ED_UVEDIT_H__ */ | ||||