Blender V4.3
tree_element_edit_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
9#include "BKE_armature.hh"
10
11#include "DNA_outliner_types.h"
12
13#include "../outliner_intern.hh"
14
16
17namespace blender::ed::outliner {
18
20 ID & /*armature_id*/,
21 EditBone &ebone)
22 : AbstractTreeElement(legacy_te) /*, armature_id_(armature_id)*/, ebone_(ebone)
23{
24 BLI_assert(legacy_te.store_elem->type == TSE_EBONE);
25 legacy_te.directdata = &ebone_;
26 legacy_te.name = ebone_.name;
27}
28
29} // namespace blender::ed::outliner
#define BLI_assert(a)
Definition BLI_assert.h:50
@ TSE_EBONE
TreeElementEditBone(TreeElement &legacy_te, ID &armature_id, EditBone &ebone)
char name[64]
Definition DNA_ID.h:413