diff options
author | Bastien Montagne <bastien@blender.org> | 2020-09-21 15:43:29 +0300 |
---|---|---|
committer | Bastien Montagne <bastien@blender.org> | 2020-09-21 15:43:29 +0300 |
commit | 87d2ac96812fd30bcfcef34a8b78b9df8a72982e (patch) | |
tree | c08ce36779dac293f481b60ac20a6569d99b691a /source/blender/editors/include | |
parent | 82aa300e1ce47f2b77e868ba43ffeaff0dc7bf96 (diff) |
Cleanup: move some paint helpers to ED_ 'namespace'.
Those two functions had `BKE_` prefix, were defined in BKE headers, but
implemented in ED code, yuck.
Moved everything to ED area for now, since those do not look fondamental
enough to belong to BKE, and none of their usages requires it currently.
Diffstat (limited to 'source/blender/editors/include')
-rw-r--r-- | source/blender/editors/include/ED_paint.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/editors/include/ED_paint.h b/source/blender/editors/include/ED_paint.h index 39c5e3521d6..dec1f6844b2 100644 --- a/source/blender/editors/include/ED_paint.h +++ b/source/blender/editors/include/ED_paint.h @@ -53,6 +53,11 @@ void ED_imapaint_bucket_fill(struct bContext *C, struct wmOperator *op, const int mouse[2]); +/* paint_image_proj.c */ +void ED_paint_data_warning(struct ReportList *reports, bool uvs, bool mat, bool tex, bool stencil); +bool ED_paint_proj_mesh_data_check( + struct Scene *scene, struct Object *ob, bool *uvs, bool *mat, bool *tex, bool *stencil); + /* image_undo.c */ void ED_image_undo_push_begin(const char *name, int paint_mode); void ED_image_undo_push_begin_with_image(const char *name, |