diff options
-rw-r--r-- | source/blender/blenkernel/intern/paint.cc | 9 | ||||
-rw-r--r-- | source/blender/editors/sculpt_paint/sculpt_automasking.cc | 6 |
2 files changed, 5 insertions, 10 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; diff --git a/source/blender/editors/sculpt_paint/sculpt_automasking.cc b/source/blender/editors/sculpt_paint/sculpt_automasking.cc index 34d7a459c1b..f4da70faad7 100644 --- a/source/blender/editors/sculpt_paint/sculpt_automasking.cc +++ b/source/blender/editors/sculpt_paint/sculpt_automasking.cc @@ -256,9 +256,9 @@ static void sculpt_face_sets_automasking_init(Sculpt *sd, Object *ob) #define EDGE_DISTANCE_INF -1 -void SCULPT_boundary_automasking_init(Object *ob, - eBoundaryAutomaskMode mode, - int propagation_steps) +static void SCULPT_boundary_automasking_init(Object *ob, + eBoundaryAutomaskMode mode, + int propagation_steps) { SculptSession *ss = ob->sculpt; |