Blender
V5.3
source
blender
editors
space_outliner
tree
tree_element_bone.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
9
#include "
DNA_armature_types.h
"
10
#include "
DNA_outliner_types.h
"
11
12
#include "
../outliner_intern.hh
"
13
14
#include "
tree_element_bone.hh
"
15
16
namespace
blender::ed::outliner
{
17
18
TreeElementBone::TreeElementBone
(
TreeElement
&legacy_te,
ID
&
/*armature_id*/
,
Bone
&bone)
19
:
AbstractTreeElement
(legacy_te)
/*, armature_id_(armature_id)*/
, bone_(bone)
20
{
21
BLI_assert
(legacy_te.
store_elem
->
type
==
TSE_BONE
);
22
legacy_te.
name
= bone_.name;
23
legacy_te.
directdata
= &bone_;
24
}
25
26
}
// namespace blender::ed::outliner
DNA_armature_types.h
DNA_outliner_types.h
blender::ed::outliner::AbstractTreeElement::AbstractTreeElement
AbstractTreeElement(TreeElement &legacy_te)
Definition
tree_element.hh:101
blender::ed::outliner::TreeElementBone::TreeElementBone
TreeElementBone(TreeElement &legacy_te, ID &armature_id, Bone &bone)
Definition
tree_element_bone.cc:18
blender::ed::outliner
Definition
outliner_collections.cc:51
blender::BLI_assert
BLI_assert(slot->slot_subtype.map==BMO_OP_SLOT_SUBTYPE_MAP_FLT)
blender::TSE_BONE
@ TSE_BONE
Definition
DNA_outliner_types.h:54
outliner_intern.hh
blender::Bone
Definition
DNA_armature_types.h:302
blender::ID
Definition
DNA_ID.h:415
blender::TreeStoreElem::type
eTreeStoreElemType type
Definition
DNA_outliner_types.h:123
blender::ed::outliner::TreeElement
Definition
outliner_intern.hh:111
blender::ed::outliner::TreeElement::name
const char * name
Definition
outliner_intern.hh:129
blender::ed::outliner::TreeElement::store_elem
TreeStoreElem * store_elem
Definition
outliner_intern.hh:124
blender::ed::outliner::TreeElement::directdata
void * directdata
Definition
outliner_intern.hh:130
tree_element_bone.hh
Generated on
for Blender by
doxygen
1.18.0