Welcome to mirror list, hosted at ThFree Co, Russian Federation.

tree_element_id_scene.hh « tree « space_outliner « editors « blender « source - git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: a178e3e50f68d480d11a4bd16196a719180345cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/* SPDX-License-Identifier: GPL-2.0-or-later */

/** \file
 * \ingroup spoutliner
 */

#pragma once

#include "tree_element_id.hh"

namespace blender::ed::outliner {

class TreeElementIDScene final : public TreeElementID {
  Scene &scene_;

 public:
  TreeElementIDScene(TreeElement &legacy_te, Scene &scene);

  void expand(SpaceOutliner &) const override;
  bool isExpandValid() const override;

 private:
  void expandViewLayers(SpaceOutliner &) const;
  void expandWorld(SpaceOutliner &) const;
  void expandCollections(SpaceOutliner &) const;
  void expandObjects(SpaceOutliner &) const;
};

}  // namespace blender::ed::outliner