Blender Git Commit Log

Git Commits -> Revision 0f60dbe

Revision 0f60dbe by Julian Eisel (master)
March 11, 2021, 12:49 (GMT)
Cleanup: Pass anim-data directly to Outliner anim-data tree element constructor

Rather than letting the `TreeElementAnimData` constructor take an ID from which
we get the animation-data based on an assumption on how it's stored, let the
constructor take the animation-data directly. That way we further centralize
the assumptions on the data passed to the element creation to
`tree_element_create()`.
The following commit will add a comment explaining the plan to entirely get rid
of those assumptions in the future.

Commit Details:

Full Hash: 0f60dbe4bf5227c2f8f21026f11ffd9703101687
Parent Commit: d4d03f7
Lines Changed: +5, -4

3 Modified Paths:

/source/blender/editors/space_outliner/tree/tree_element.cc (+2, -1) (Diff)
/source/blender/editors/space_outliner/tree/tree_element_anim_data.cc (+2, -2) (Diff)
/source/blender/editors/space_outliner/tree/tree_element_anim_data.hh (+1, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021