Blender V5.0
tree_element_collection.cc
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2023 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
8
10#include "DNA_scene_types.h"
11
12#include "BLT_translation.hh"
13
14#include "../outliner_intern.hh"
15
17
18namespace blender::ed::outliner {
19
21 : AbstractTreeElement(legacy_te), scene_(scene)
22{
24 legacy_te.name = IFACE_("Scene Collection");
25}
26
28{
29 outliner_add_collection_recursive(&space_outliner, scene_.master_collection, &legacy_te_);
30}
31
32} // namespace blender::ed::outliner
#define BLI_assert(a)
Definition BLI_assert.h:46
#define IFACE_(msgid)
@ TSE_SCENE_COLLECTION_BASE
TreeElementCollectionBase(TreeElement &legacy_te, Scene &scene)
TreeElement * outliner_add_collection_recursive(SpaceOutliner *space_outliner, Collection *collection, TreeElement *ten)