Blender V4.3
tree_element_id_scene.hh
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#pragma once
10
11#include "tree_element_id.hh"
12
13namespace blender::ed::outliner {
14
15class TreeElementIDScene final : public TreeElementID {
16 Scene &scene_;
17
18 public:
19 TreeElementIDScene(TreeElement &legacy_te, Scene &scene);
20
21 void expand(SpaceOutliner &) const override;
22
23 private:
24 void expand_view_layers() const;
25 void expand_world() const;
26 void expand_collections() const;
27 void expand_objects() const;
28};
29
30} // namespace blender::ed::outliner
void expand(SpaceOutliner &) const override
TreeElementIDScene(TreeElement &legacy_te, Scene &scene)