Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Eisel <julian@blender.org>2020-09-21 16:03:02 +0300
committerJulian Eisel <julian@blender.org>2020-09-21 16:03:02 +0300
commita34e7c3e5d844fd2b9e628534e93892467a7897e (patch)
tree789aa93890ff92da33beb7da75975ee58f344aee /source/blender/blenkernel/intern/brush.c
parent7883ccd29fe1dc37dff6c46ee0e9ba053444466d (diff)
Cleanup (UI): Early-exit rather than having a big-ish conditional body
It's generally considered a better codestyle to check conditions early and exit early when they are not met, over having most logic of a function within a big `if`-block. Otherwise people have to go over the entire block to see if there's possibly an `else` somewhere, or any followup logic.
Diffstat (limited to 'source/blender/blenkernel/intern/brush.c')
0 files changed, 0 insertions, 0 deletions