From 283926aa2d0c6366d92a4f38e994e843b73659f6 Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Mon, 9 Feb 2009 20:58:31 +0000 Subject: 2.5: UV Editor module porting pretty much finished now, only missing still is mirror transform. This commits adds the remaining operators: * UV mapping operators (U key menu): cube, sphere, cylinder, etc. * Hide/Show operators. And solves most XXX's, including: * Fix bad includes and calls into space image. * Aspect ratio correction. * Create UVs if they don't exist yet on unwrap. * Assign image to UVs. * Drawing proportional edit circle. --- source/blender/editors/include/ED_uvedit.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source/blender/editors/include/ED_uvedit.h') diff --git a/source/blender/editors/include/ED_uvedit.h b/source/blender/editors/include/ED_uvedit.h index fa106ff4360..74a9be75db6 100644 --- a/source/blender/editors/include/ED_uvedit.h +++ b/source/blender/editors/include/ED_uvedit.h @@ -28,6 +28,7 @@ #ifndef ED_UVEDIT_H #define ED_UVEDIT_H +struct bContext; struct Scene; struct Object; struct MTFace; @@ -40,7 +41,7 @@ void ED_operatortypes_uvedit(void); void ED_keymap_uvedit(struct wmWindowManager *wm); void ED_uvedit_assign_image(struct Scene *scene, struct Object *obedit, struct Image *ima, struct Image *previma); -void ED_uvedit_set_tile(struct Scene *scene, struct Object *obedit, struct Image *ima, int curtile, int dotile); +void ED_uvedit_set_tile(struct bContext *C, struct Scene *scene, struct Object *obedit, struct Image *ima, int curtile, int dotile); int ED_uvedit_minmax(struct Scene *scene, struct Image *ima, struct Object *obedit, float *min, float *max); int ED_uvedit_test_silent(struct Object *obedit); -- cgit v1.2.3