Blender V5.3
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 return &scene.id;
30}
31
33{
35 *display_, &space_outliner, scene_.master_collection, &legacy_te_);
36}
37
38} // namespace blender::ed::outliner
#define IFACE_(msgid)
TreeElementCollectionBase(TreeElement &legacy_te, Scene &scene)
TreeElement * outliner_add_collection_recursive(AbstractTreeDisplay &tree_display, SpaceOutliner *space_outliner, Collection *collection, TreeElement *ten)
BLI_assert(slot->slot_subtype.map==BMO_OP_SLOT_SUBTYPE_MAP_FLT)
@ TSE_SCENE_COLLECTION_BASE