[Bf-blender-cvs] [342be27daac] master: Cleanup: clang-tidy

Jacques Lucke noreply at git.blender.org
Fri Oct 16 15:33:07 CEST 2020


Commit: 342be27daac8b868c709062c8a23bc50f20fe393
Author: Jacques Lucke
Date:   Fri Oct 16 15:33:00 2020 +0200
Branches: master
https://developer.blender.org/rB342be27daac8b868c709062c8a23bc50f20fe393

Cleanup: clang-tidy

===================================================================

M	source/blender/editors/sculpt_paint/sculpt_automasking.c

===================================================================

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;



More information about the Bf-blender-cvs mailing list