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>2022-05-26 00:12:06 +0300
committerJulian Eisel <julian@blender.org>2022-05-26 00:21:15 +0300
commitdc6fe73e707fc224cfdff8457f63ef9c0eb0a04b (patch)
tree1b877b8947a9bdebe64dc44b7a35eff91efc9d91 /source/blender/makesrna
parenta4a7af47326f6ca2ba881c3a2a25a0bdeed17c66 (diff)
Outliner: Make use of new C++ based functional iterators
(Not meant to cause user visible changes.) Makes use of the new iterators introduced in the previous commit. Some benefits: - Shorter, simpler, easier to read & understand - Deduplicates logic - Centralizes iteration logic, making it easier to replace tree storage (as planned), see previous commit. - Avoids having to pass (sub-)tree to iterate around (often redundant since it's just `SpaceOutliner.tree`, even though `SpaceOutliner` is already passed). - Function arguments that are only passed to the recursive call are recognized as unused (found and removed a few). Also does some general cleanups while refactoring the code for the iterators. Use `const`, use references (signals null is not expected), early-exit (see 16fd5fa656af), remove redundant arguments, etc.
Diffstat (limited to 'source/blender/makesrna')
0 files changed, 0 insertions, 0 deletions