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>2018-11-03 07:44:16 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-11-03 07:55:45 +0300
commit13c3c9b22fd8453d4418577efbc2ccb93209e92e (patch)
treecb332a7ed0e9022db2d189cd11bd983e33248468 /source/blender/blenkernel/BKE_paint.h
parenta18927463c18eec24c74ce8c0b3c261ff5ace889 (diff)
Cleanup: move brush query into utility function
Diffstat (limited to 'source/blender/blenkernel/BKE_paint.h')
-rw-r--r--source/blender/blenkernel/BKE_paint.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_paint.h b/source/blender/blenkernel/BKE_paint.h
index b8938c87275..c5fc6054812 100644
--- a/source/blender/blenkernel/BKE_paint.h
+++ b/source/blender/blenkernel/BKE_paint.h
@@ -136,6 +136,9 @@ struct Paint *BKE_paint_get_active(struct Scene *sce, struct ViewLayer *view_lay
struct Paint *BKE_paint_get_active_from_context(const struct bContext *C);
ePaintMode BKE_paintmode_get_active_from_context(const struct bContext *C);
struct Brush *BKE_paint_brush(struct Paint *paint);
+bool BKE_paint_brush_tool_info(
+ const struct Scene *scene, const struct Paint *paint,
+ uint *r_tool_offset, eObjectMode *r_ob_mode);
void BKE_paint_brush_set(struct Paint *paint, struct Brush *br);
struct Palette *BKE_paint_palette(struct Paint *paint);
void BKE_paint_palette_set(struct Paint *p, struct Palette *palette);