From 342be27daac8b868c709062c8a23bc50f20fe393 Mon Sep 17 00:00:00 2001 From: Jacques Lucke Date: Fri, 16 Oct 2020 15:33:00 +0200 Subject: Cleanup: clang-tidy --- source/blender/editors/sculpt_paint/sculpt_automasking.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/editors/sculpt_paint') 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; -- cgit v1.2.3