|
Blender V4.3
|
#include <tree_element_id_library.hh>
Inherits blender::ed::outliner::TreeElementID.
Public Member Functions | |
| TreeElementIDLibrary (TreeElement &legacy_te, Library &library) | |
| blender::StringRefNull | get_warning () const override |
Public Member Functions inherited from blender::ed::outliner::TreeElementID | |
| TreeElementID (TreeElement &legacy_te, ID &id) | |
| bool | expand_poll (const SpaceOutliner &) const override |
| void | expand (SpaceOutliner &) const override |
| ID & | get_ID () |
Public Member Functions inherited from blender::ed::outliner::AbstractTreeElement | |
| virtual | ~AbstractTreeElement ()=default |
| TreeElement & | get_legacy_element () |
| virtual std::optional< BIFIconID > | get_icon () const |
| void | print_path () |
Additional Inherited Members | |
Static Public Member Functions inherited from blender::ed::outliner::TreeElementID | |
| static std::unique_ptr< TreeElementID > | create_from_id (TreeElement &legacy_te, ID &id) |
Static Public Member Functions inherited from blender::ed::outliner::AbstractTreeElement | |
| static std::unique_ptr< AbstractTreeElement > | create_from_type (int type, TreeElement &legacy_te, ID *owner_id, void *create_data) |
| static void | uncollapse_by_default (TreeElement *legacy_te) |
Protected Member Functions inherited from blender::ed::outliner::TreeElementID | |
| void | expand_animation_data (AnimData *) const |
Protected Member Functions inherited from blender::ed::outliner::AbstractTreeElement | |
| AbstractTreeElement (TreeElement &legacy_te) | |
| TreeElement * | add_element (ListBase *lb, ID *owner_id, void *create_data, TreeElement *parent, short type, short index, const bool expand=true) const |
Protected Attributes inherited from blender::ed::outliner::TreeElementID | |
| ID & | id_ |
Protected Attributes inherited from blender::ed::outliner::AbstractTreeElement | |
| TreeElement & | legacy_te_ |
| AbstractTreeDisplay * | display_ |
Definition at line 17 of file tree_element_id_library.hh.
| blender::ed::outliner::TreeElementIDLibrary::TreeElementIDLibrary | ( | TreeElement & | legacy_te, |
| Library & | library ) |
Definition at line 20 of file tree_element_id_library.cc.
References Library::filepath, and blender::ed::outliner::TreeElement::name.
|
overridevirtual |
By letting this return a warning message, the tree element will display a warning icon with the message in the tooltip.
Reimplemented from blender::ed::outliner::AbstractTreeElement.
Definition at line 26 of file tree_element_id_library.cc.
References Library::id, blender::ed::outliner::TreeElementID::id_, ID_TAG_MISSING, LIBRARY_TAG_RESYNC_REQUIRED, RPT_, Library::runtime, ID::tag, and Library_Runtime::tag.