diff options
author | Julian Eisel <julian@blender.org> | 2022-09-07 13:05:56 +0300 |
---|---|---|
committer | Julian Eisel <julian@blender.org> | 2022-09-07 13:05:56 +0300 |
commit | ee3d36f78a59ebde397962d97fde4a4137f3aada (patch) | |
tree | bea7dd512699511ef0aeba78f042e282080187b8 /source/blender/editors/space_outliner/tree/tree_element_driver.cc | |
parent | 788952705c623d3748c6e46fa244b63bd9209717 (diff) |
Outliner: Initial (half working) port to new element storagetemp-outliner-new-element-storage
Basicaly the idea is to have a C++ class to better manage the runtime
tree element storage and access.
This branch doesn't even compile yet, it's just an early experiment so
far that I don't only want to keep locally.
Diffstat (limited to 'source/blender/editors/space_outliner/tree/tree_element_driver.cc')
-rw-r--r-- | source/blender/editors/space_outliner/tree/tree_element_driver.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/editors/space_outliner/tree/tree_element_driver.cc b/source/blender/editors/space_outliner/tree/tree_element_driver.cc index f8072d2814d..acd75fefff3 100644 --- a/source/blender/editors/space_outliner/tree/tree_element_driver.cc +++ b/source/blender/editors/space_outliner/tree/tree_element_driver.cc @@ -40,8 +40,7 @@ void TreeElementDriverBase::expand(SpaceOutliner &space_outliner) const DRIVER_TARGETS_USED_LOOPER_BEGIN (dvar) { if (lastadded != dtar->id) { /* XXX this lastadded check is rather lame, and also fails quite badly... */ - outliner_add_element( - &space_outliner, &legacy_te_.subtree, dtar->id, &legacy_te_, TSE_LINKED_OB, 0); + outliner_add_element(&space_outliner, dtar->id, &legacy_te_, TSE_LINKED_OB, 0); lastadded = dtar->id; } } |