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.
This commit is contained in:
2020-08-07 12:40:29 +02:00
parent dee359e26e
commit 47f8c444a4
17 changed files with 94 additions and 111 deletions

View File

@@ -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;