diff options
author | Julian Eisel <julian@blender.org> | 2021-07-30 19:39:45 +0300 |
---|---|---|
committer | Julian Eisel <julian@blender.org> | 2021-07-30 19:42:38 +0300 |
commit | b90887da5a37088d295fe86445cf62c9fc8fdea4 (patch) | |
tree | 1003a7273342e6a3947bb067a27ee4c72415b935 /source/blender/gpu/shaders/material | |
parent | 3b2a6bf8e8f87c2d1a8927637c562502af8083b9 (diff) |
Cleanup: Refactor logic of file deletion poll callback
* Early exit instead of complex if-else blocks.
* Avoid iterating over entire file list.
* Use `true`/`false` for boolean values.
* Declare variables in smaller scopes.
Diffstat (limited to 'source/blender/gpu/shaders/material')
0 files changed, 0 insertions, 0 deletions