Blender
V4.3
source
blender
editors
space_outliner
tree
tree_element_view_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
9
#include "
DNA_outliner_types.h
"
10
#include "
DNA_scene_types.h
"
11
12
#include "
BLT_translation.hh
"
13
14
#include "
../outliner_intern.hh
"
15
16
#include "
tree_element_view_collection.hh
"
17
18
namespace
blender::ed::outliner
{
19
20
TreeElementViewCollectionBase::TreeElementViewCollectionBase
(
TreeElement
&legacy_te,
21
Scene
&
/*scene*/
)
22
:
AbstractTreeElement
(legacy_te)
/* , scene_(scene) */
23
{
24
BLI_assert
(legacy_te.
store_elem
->
type
==
TSE_VIEW_COLLECTION_BASE
);
25
legacy_te.
name
=
IFACE_
(
"Scene Collection"
);
26
}
27
28
}
// namespace blender::ed::outliner
BLI_assert
#define BLI_assert(a)
Definition
BLI_assert.h:50
BLT_translation.hh
IFACE_
#define IFACE_(msgid)
Definition
BLT_translation.hh:41
DNA_outliner_types.h
TSE_VIEW_COLLECTION_BASE
@ TSE_VIEW_COLLECTION_BASE
Definition
DNA_outliner_types.h:108
DNA_scene_types.h
blender::ed::outliner::AbstractTreeElement
Definition
tree_element.hh:29
blender::ed::outliner::TreeElementViewCollectionBase::TreeElementViewCollectionBase
TreeElementViewCollectionBase(TreeElement &legacy_te, Scene &scene)
Definition
tree_element_view_collection.cc:20
blender::ed::outliner
Definition
outliner_collections.cc:42
outliner_intern.hh
Scene
Definition
DNA_scene_types.h:1988
TreeStoreElem::type
short type
Definition
DNA_outliner_types.h:16
blender::ed::outliner::TreeElement
Definition
outliner_intern.hh:84
blender::ed::outliner::TreeElement::name
const char * name
Definition
outliner_intern.hh:102
blender::ed::outliner::TreeElement::store_elem
TreeStoreElem * store_elem
Definition
outliner_intern.hh:97
tree_element_view_collection.hh
Generated on Thu Feb 6 2025 07:36:39 for Blender by
doxygen
1.11.0