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:
authorJacques Lucke <jacques@blender.org>2020-10-16 16:33:00 +0300
committerJacques Lucke <jacques@blender.org>2020-10-16 16:33:00 +0300
commit342be27daac8b868c709062c8a23bc50f20fe393 (patch)
tree544991cb6b5be4552b586378166f9a6b271c8e6a /source/blender/editors/sculpt_paint/sculpt_automasking.c
parent5b9296f0d6d240d9d775f7cbe9a1e5f7706ad6dd (diff)
Cleanup: clang-tidy
Diffstat (limited to 'source/blender/editors/sculpt_paint/sculpt_automasking.c')
-rw-r--r--source/blender/editors/sculpt_paint/sculpt_automasking.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/sculpt_paint/sculpt_automasking.c b/source/blender/editors/sculpt_paint/sculpt_automasking.c
index f2fc1bcb3c9..bb68ec56b25 100644
--- a/source/blender/editors/sculpt_paint/sculpt_automasking.c
+++ b/source/blender/editors/sculpt_paint/sculpt_automasking.c
@@ -67,7 +67,7 @@ AutomaskingCache *SCULPT_automasking_active_cache_get(SculptSession *ss)
if (ss->cache) {
return ss->cache->automasking;
}
- else if (ss->filter_cache) {
+ if (ss->filter_cache) {
return ss->filter_cache->automasking;
}
return NULL;