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 <campbell@blender.org>2022-09-17 08:12:42 +0300
committerCampbell Barton <campbell@blender.org>2022-09-17 08:12:42 +0300
commit34a6952067c55678ad3f20449c2f54187d44dd87 (patch)
treec604b2e4683d0a26c9b1561e28bf21ab0ac02da2 /source/blender/blenkernel
parentd9930d5fd0018fba9bd8bdda63cfd319c99c1884 (diff)
Cleanup: compiler warnings
Diffstat (limited to 'source/blender/blenkernel')
-rw-r--r--source/blender/blenkernel/intern/paint.cc9
1 files changed, 2 insertions, 7 deletions
diff --git a/source/blender/blenkernel/intern/paint.cc b/source/blender/blenkernel/intern/paint.cc
index 27ab51f8f71..5dc8e3e0112 100644
--- a/source/blender/blenkernel/intern/paint.cc
+++ b/source/blender/blenkernel/intern/paint.cc
@@ -2422,10 +2422,10 @@ static bool sculpt_attribute_create(SculptSession *ss,
"array "
"instead.\n",
__func__);
- permanent = out->params.permanent = false;
+ permanent = (out->params.permanent = false);
}
- simple_array = out->params.simple_array = true;
+ simple_array = (out->params.simple_array = true);
}
BLI_assert(!(simple_array && permanent));
@@ -2791,11 +2791,6 @@ static void sculpt_attribute_update_refs(Object *ob)
}
}
-bool BKE_paint_uses_channels(ePaintMode mode)
-{
- return mode == PAINT_MODE_SCULPT;
-}
-
void BKE_sculpt_attribute_destroy_temporary_all(Object *ob)
{
SculptSession *ss = ob->sculpt;