Object Mode: use eval_ctx for context/screen code

This commit is contained in:
2018-02-06 17:28:00 +11:00
parent 269ed0a770
commit 5ec016169b
23 changed files with 210 additions and 108 deletions

View File

@@ -112,7 +112,10 @@ void ED_unwrap_lscm(struct Scene *scene, struct Object *obedit, const short sel)
/* uvedit_draw.c */
void ED_image_draw_cursor(struct ARegion *ar, const float cursor[2]);
void ED_uvedit_draw_main(struct SpaceImage *sima, struct ARegion *ar, struct Scene *scene, struct ViewLayer *view_layer, struct Object *obedit, struct Object *obact, struct Depsgraph *depsgraph);
void ED_uvedit_draw_main(
struct SpaceImage *sima, const struct EvaluationContext *eval_ctx,
struct ARegion *ar, struct Scene *scene, struct ViewLayer *view_layer,
struct Object *obedit, struct Object *obact, struct Depsgraph *depsgraph);
/* uvedit_buttons.c */
void ED_uvedit_buttons_register(struct ARegionType *art);