diff options
author | Bastien Montagne <bastien@blender.org> | 2021-02-26 19:32:02 +0300 |
---|---|---|
committer | Bastien Montagne <bastien@blender.org> | 2021-03-26 14:45:47 +0300 |
commit | 7cdf7e992e3494c390ea23d1d9e35f149ea323fc (patch) | |
tree | a526d59adc90195bb621017866600d0aa50c198a /source/blender/editors/space_outliner/tree/tree_display.hh | |
parent | 4425bacec4d639fdc53f4cb8a6817326622b27b7 (diff) |
Initial raw liboverride-dedicated view in the Outliner.override-outliner-view
Disclaimer: this is merely a copy of the Libraries (aka blend file)
view, with some minor tweaking.
Diffstat (limited to 'source/blender/editors/space_outliner/tree/tree_display.hh')
-rw-r--r-- | source/blender/editors/space_outliner/tree/tree_display.hh | 18 |
1 files changed, 18 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 b6183050e82..f089a149805 100644 --- a/source/blender/editors/space_outliner/tree/tree_display.hh +++ b/source/blender/editors/space_outliner/tree/tree_display.hh @@ -111,6 +111,24 @@ class TreeDisplayLibraries final : public AbstractTreeDisplay { }; /* -------------------------------------------------------------------- */ +/* Library Overrides Tree-Display. */ + +/** + * \brief Tree-Display for the Library Overrides display mode. + */ +class TreeDisplayOverrideLibrary final : public AbstractTreeDisplay { + public: + TreeDisplayOverrideLibrary(SpaceOutliner &space_outliner); + + ListBase buildTree(const TreeSourceData &source_data) override; + + private: + TreeElement *add_library_contents(Main &, ListBase &, Library *) const; + bool override_library_id_filter_poll(Library *lib, ID *id) const; + short id_filter_get() const; +}; + +/* -------------------------------------------------------------------- */ /* Video Sequencer Tree-Display */ enum SequenceAddOp { |