Blender V4.3
tree_element_constraint.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
10#include "DNA_outliner_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) /*, object_(object) */
22{
24 legacy_te.name = IFACE_("Constraints");
25}
26
28 Object & /*object*/,
29 bConstraint &con)
30 : AbstractTreeElement(legacy_te), /* object_(object), */ con_(con)
31{
33 legacy_te.name = con_.name;
34 legacy_te.directdata = &con_;
35}
36
37} // namespace blender::ed::outliner
#define BLI_assert(a)
Definition BLI_assert.h:50
#define IFACE_(msgid)
@ TSE_CONSTRAINT_BASE
@ TSE_CONSTRAINT
TreeElementConstraintBase(TreeElement &legacy_te, Object &object)
TreeElementConstraint(TreeElement &legacy_te, Object &object, bConstraint &con)