fix #99584: Outliner selection not working correctly after undoing object deletion #105903

Open
Kaicheng Zhou wants to merge 1 commits from Kaicheng-Zhou/blender:temp-fix-tree-add-elem into main

When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.
1 changed files with 1 additions and 1 deletions

View File

@ -166,7 +166,7 @@ static void check_persistent(
tselem->type = type;
tselem->nr = type ? nr : 0;
tselem->id = id;
tselem->used = 0;
tselem->used = 1;
tselem->flag = TSE_CLOSED;
te->store_elem = tselem;
space_outliner->runtime->tree_hash->add_element(*tselem);