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

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Craddock <nzcraddock@gmail.com>2020-12-03 20:34:09 +0300
committerNathan Craddock <nzcraddock@gmail.com>2020-12-05 03:53:42 +0300
commitaaa02984d3978bcf94d9a98d1ac9139d5fbfca2d (patch)
tree43e7ed8c9fefbe1c30a2083c0d0c655ab6d924f8 /source/blender/editors/space_outliner/tree/tree_display.hh
parent1db40c29e5f30f2d8b854f67129d9d44cd844a34 (diff)
Cleanup: Outliner scenes display mode
No functional changes. The scene display building code has been moved to C++. Differential Revision: https://developer.blender.org/D9741
Diffstat (limited to 'source/blender/editors/space_outliner/tree/tree_display.hh')
-rw-r--r--source/blender/editors/space_outliner/tree/tree_display.hh13
1 files changed, 13 insertions, 0 deletions
diff --git a/source/blender/editors/space_outliner/tree/tree_display.hh b/source/blender/editors/space_outliner/tree/tree_display.hh
index a933a8d7609..4a2559d94ab 100644
--- a/source/blender/editors/space_outliner/tree/tree_display.hh
+++ b/source/blender/editors/space_outliner/tree/tree_display.hh
@@ -150,4 +150,17 @@ class TreeDisplayIDOrphans final : public AbstractTreeDisplay {
bool datablock_has_orphans(ListBase &) const;
};
+/* -------------------------------------------------------------------- */
+/* Scenes Tree-Display */
+
+/**
+ * \brief Tree-Display for the Scenes display mode
+ */
+class TreeDisplayScenes final : public AbstractTreeDisplay {
+ public:
+ TreeDisplayScenes(SpaceOutliner &space_outliner);
+
+ ListBase buildTree(const TreeSourceData &source_data) override;
+};
+
} // namespace blender::ed::outliner