Blender V5.3
tree_element_layer_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_layer_types.h"
11#include "DNA_outliner_types.h"
12#include "DNA_scene_types.h"
13
14#include "../outliner_intern.hh"
15
17
18namespace blender::ed::outliner {
19
21 : AbstractTreeElement(legacy_te), lc_(lc)
22{
24 legacy_te.name = lc_.collection->id.name + 2;
25 legacy_te.directdata = &lc_;
26}
27
32
33} // namespace blender::ed::outliner
Object groups, one object can be in many groups at once.
TreeElementLayerCollection(TreeElement &legacy_te, LayerCollection &lc)
BLI_assert(slot->slot_subtype.map==BMO_OP_SLOT_SUBTYPE_MAP_FLT)
struct Collection * collection