Blender Git Loki

Git Commits -> Revision 3a907e7

Revision 3a907e7 by Julian Eisel (master)
March 5, 2021, 17:07 (GMT)
Outliner: Barebones to port IDs to new Outliner tree-element code design

Continuation of work in 2e221de4ceee and 249e4df110e0 .
This prepares things so we can start porting the individual ID types to
the new code design. I already added some code for library IDs, because
they need some special handling during construction, which I didn't want
to break.

The `AbstractTreeElement::isExpandValid()` check can be removed once
types were ported and can be assumed to have a proper `expand()`
implemenation.

Also makes `TreeElementGPencilLayer` `final` which I forgot in
e0442a955bad.

Commit Details:

Full Hash: 3a907e742507dde9b26eb5f531c18ad00b0e2ab6
Parent Commit: ae00539
Lines Changed: +176, -2

2 Added Paths:

/source/blender/editors/space_outliner/tree/tree_element_id.cc (+100, -0) (View)
/source/blender/editors/space_outliner/tree/tree_element_id.hh (+48, -0) (View)

6 Modified Paths:

/source/blender/editors/space_outliner/CMakeLists.txt (+2, -0) (Diff)
/source/blender/editors/space_outliner/outliner_tree.c (+6, -1) (Diff)
/source/blender/editors/space_outliner/tree/tree_element.cc (+9, -0) (Diff)
/source/blender/editors/space_outliner/tree/tree_element.h (+1, -0) (Diff)
/source/blender/editors/space_outliner/tree/tree_element.hh (+9, -0) (Diff)
/source/blender/editors/space_outliner/tree/tree_element_gpencil_layer.hh (+1, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021