diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-07-16 04:07:36 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-07-16 04:14:27 +0300 |
commit | 54abab53bfd83e4ff4954f2d86b1916740a6a57c (patch) | |
tree | 20a40b4dd99b7c9a567aa6590937b04caca1e08d /source/blender/editors | |
parent | a3d90337b84764330c1ada680465af0225bd9a37 (diff) |
Cleanup: undeclared function warning, unused argument
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/sculpt_paint/sculpt_automasking.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/editors/sculpt_paint/sculpt_automasking.c b/source/blender/editors/sculpt_paint/sculpt_automasking.c index 4b016b3df4d..7c8a5ce80d4 100644 --- a/source/blender/editors/sculpt_paint/sculpt_automasking.c +++ b/source/blender/editors/sculpt_paint/sculpt_automasking.c @@ -89,7 +89,7 @@ bool SCULPT_is_automasking_enabled(const Sculpt *sd, const SculptSession *ss, co return false; } -int SCULPT_automasking_mode_effective_bits(const Sculpt *sculpt, const Brush *brush) +static int sculpt_automasking_mode_effective_bits(const Sculpt *sculpt, const Brush *brush) { return sculpt->automasking_flags | brush->automasking_flags; } @@ -97,7 +97,7 @@ int SCULPT_automasking_mode_effective_bits(const Sculpt *sculpt, const Brush *br static bool SCULPT_automasking_needs_cache(const Sculpt *sd, const Brush *brush) { - const int automasking_flags = SCULPT_automasking_mode_effective_bits(sd, brush); + const int automasking_flags = sculpt_automasking_mode_effective_bits(sd, brush); if (automasking_flags & BRUSH_AUTOMASKING_TOPOLOGY) { return true; } @@ -309,7 +309,7 @@ static void SCULPT_stroke_automasking_settings_update(SculptSession *ss, Sculpt { BLI_assert(ss->cache); - ss->cache->automask_settings.flags = SCULPT_automasking_mode_effective_bits(sd, brush); + ss->cache->automask_settings.flags = sculpt_automasking_mode_effective_bits(sd, brush); ss->cache->automask_settings.initial_face_set = SCULPT_active_face_set_get(ss); } |