diff options
author | Sybren A. Stüvel <sybren@blender.org> | 2020-08-07 13:40:29 +0300 |
---|---|---|
committer | Sybren A. Stüvel <sybren@blender.org> | 2020-08-07 14:38:06 +0300 |
commit | 47f8c444a4d05950d6544f6d09471f808e64b4ab (patch) | |
tree | c0765f7e0610d4a14b85c1dbfdbc20f443259680 /source/blender/modifiers/intern/MOD_util.c | |
parent | dee359e26e7dd6eb0b51594497d90421801ed877 (diff) |
Cleanup: Modifiers, Clang-Tidy else-after-return fixes
This addresses warnings from Clang-Tidy's `readability-else-after-return`
rule in the `source/blender/modifiers` module.
No functional changes.
Diffstat (limited to 'source/blender/modifiers/intern/MOD_util.c')
-rw-r--r-- | source/blender/modifiers/intern/MOD_util.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/source/blender/modifiers/intern/MOD_util.c b/source/blender/modifiers/intern/MOD_util.c index c6dff375109..179996d5acf 100644 --- a/source/blender/modifiers/intern/MOD_util.c +++ b/source/blender/modifiers/intern/MOD_util.c @@ -143,10 +143,9 @@ void MOD_get_texture_coords(MappingInfoModifierData *dmd, MEM_freeN(done); return; } - else { - /* if there are no UVs, default to local */ - texmapping = MOD_DISP_MAP_LOCAL; - } + + /* if there are no UVs, default to local */ + texmapping = MOD_DISP_MAP_LOCAL; } MVert *mv = mesh->mvert; |