Blender Git Commit Log

Git Commits -> Revision 371ddda

Revision 371ddda by Sybren A. Stüvel (master)
September 4, 2020, 09:26 (GMT)
Cleanup: Clang-Tidy readability-redundant-preprocessor fixes

Remove redundantly nested `#if` and `#ifdef` statements.

One nested `#if 0` block was left untouched, as it's in particle code
that's no longer maintained. Furthermore, that block also has some
explanation as to the differences between the enabled & disabled parts.

One nested `#if 0` construct was completely removed, leaving only the
actually used bit of code. There was no explanation as to the usefulness
of the disabled code, and it hasn't been touched in years.

No functional changes.

Commit Details:

Full Hash: 371ddda4d0b3c2ef0c40f604715db801dc33b669
Parent Commit: aa4cf47
Lines Changed: +32, -55

6 Modified Paths:

/.clang-tidy (+0, -1) (Diff)
/source/blender/blenkernel/intern/mesh_remesh_voxel.c (+0, -2) (Diff)
/source/blender/compositor/intern/COM_WorkScheduler.cpp (+0, -2) (Diff)
/source/blender/editors/interface/interface_icons.c (+24, -27) (Diff)
/source/blender/editors/physics/particle_edit.c (+1, -0) (Diff)
/source/blender/editors/uvedit/uvedit_parametrizer.c (+7, -23) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021