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-07 01:43:07 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-11-07 01:43:07 +0300
commitbc1c263a8ada7541b4de2544757b1a765ffab0b3 (patch)
tree97ad81a839dd475b158919d76d8bff8fa89ef341 /source/blender/blenkernel/intern/paint.c
parentfb932bb52a65c147689f5940aa0f347066ba0547 (diff)
Cleanup: naming (inconsistent paint_mode term)
Diffstat (limited to 'source/blender/blenkernel/intern/paint.c')
-rw-r--r--source/blender/blenkernel/intern/paint.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/blenkernel/intern/paint.c b/source/blender/blenkernel/intern/paint.c
index 55f6100c7be..86af8604e70 100644
--- a/source/blender/blenkernel/intern/paint.c
+++ b/source/blender/blenkernel/intern/paint.c
@@ -386,7 +386,7 @@ void BKE_paint_runtime_init(const ToolSettings *ts, Paint *paint)
}
}
-uint BKE_paint_get_brush_tool_offset_from_paint_mode(const ePaintMode mode)
+uint BKE_paint_get_brush_tool_offset_from_paintmode(const ePaintMode mode)
{
switch (mode) {
case ePaintTexture2D:
@@ -602,7 +602,7 @@ void BKE_paint_cavity_curve_preset(Paint *p, int preset)
curvemapping_changed(p->cavity_curve, false);
}
-eObjectMode BKE_paint_object_mode_from_paint_mode(ePaintMode mode)
+eObjectMode BKE_paint_object_mode_from_paintmode(ePaintMode mode)
{
switch (mode) {
case ePaintSculpt:
@@ -689,7 +689,7 @@ void BKE_paint_init(Main *bmain, Scene *sce, ePaintMode mode, const char col[3])
/* If there's no brush, create one */
brush = BKE_paint_brush(paint);
if (brush == NULL) {
- eObjectMode ob_mode = BKE_paint_object_mode_from_paint_mode(mode);
+ eObjectMode ob_mode = BKE_paint_object_mode_from_paintmode(mode);
brush = BKE_brush_first_search(bmain, ob_mode);
if (!brush) {