diff options
Diffstat (limited to 'source/blender/blenkernel/intern/paint.cc')
-rw-r--r-- | source/blender/blenkernel/intern/paint.cc | 9 |
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; |