diff options
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/editors/space_outliner/outliner_tree.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/source/blender/editors/space_outliner/outliner_tree.c b/source/blender/editors/space_outliner/outliner_tree.c index 6b24e83e8ee..58585d3c99d 100644 --- a/source/blender/editors/space_outliner/outliner_tree.c +++ b/source/blender/editors/space_outliner/outliner_tree.c @@ -1470,10 +1470,7 @@ static void outliner_make_object_parent_hierarchy(ListBase *lb) BLI_remlink(lb, te); tep = (TreeElement *)ob->parent->id.newid; BLI_addtail(&tep->subtree, te); - // set correct parent pointers - for (te = tep->subtree.first; te; te = te->next) { - te->parent = tep; - } + te->parent = tep; } } te = ten; |