Blender Git Loki

Git Commits -> Revision 43b4570

Revision 43b4570 by Julian Eisel (master)
November 11, 2020, 18:09 (GMT)
Cleanup: General cleanup of Outliner Blender File display mode building

See https://developer.blender.org/D9499.

* Turn functions into member functions (makes API for a type more obvious &
local, allows implicitly sharing data through member variables, enables order
independend definition of functions, allows more natural language for
function names because of the obvious context).
* Prefer references over pointers for passing by reference (makes clear that
NULL is not a valid value and that the current scope is not the owner).
* Reduce indentation levels, use `continue` in loops to ensure preconditions
are met.
* Add asserts for sanity checks.

Commit Details:

Full Hash: 43b4570dcf47e03dbb3c0ae5b8791160ff555c54
Parent Commit: 44d8faf
Lines Changed: +131, -114

2 Modified Paths:

/source/blender/editors/space_outliner/tree/tree_view.hh (+4, -0) (Diff)
/source/blender/editors/space_outliner/tree/tree_view_libraries.cc (+127, -114) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021