|
Blender V5.3
|
#include <tree_element_overrides.hh>
Inherits blender::ed::outliner::AbstractTreeElement.
Public Member Functions | |
Base Element | |
Represents an ID that has overridden properties. The expanding will invoke building of tree elements for the full RNA path of the property. | |
| TreeElementOverridesBase (TreeElement &legacy_te, ID &id) | |
| void | expand (SpaceOutliner &) const override |
| StringRefNull | get_warning () const override |
| Public Member Functions inherited from blender::ed::outliner::AbstractTreeElement | |
| virtual | ~AbstractTreeElement ()=default |
| virtual bool | expand_poll (const SpaceOutliner &) const |
| TreeElement & | get_legacy_element () |
| virtual std::optional< BIFIconID > | get_icon () const |
| void | print_path () |
Static Public Member Functions | |
| static ID * | owner_id (ID &id) |
| Static Public Member Functions inherited from blender::ed::outliner::AbstractTreeElement | |
| static void | uncollapse_by_default (TreeElement *legacy_te) |
Public Attributes | |
| ID & | id |
Static Public Attributes | |
| static constexpr eTreeStoreElemType | element_type = TSE_LIBRARY_OVERRIDE_BASE |
Additional Inherited Members | |
| Protected Member Functions inherited from blender::ed::outliner::AbstractTreeElement | |
| AbstractTreeElement (TreeElement &legacy_te) | |
| template<typename ElementType, typename... Args> | |
| TreeElement * | add_element (const TreeElementAddParams ¶ms, Args &&...args) const |
| TreeElement * | add_id_element (const TreeElementAddParams ¶ms, ID *id) const |
| Protected Attributes inherited from blender::ed::outliner::AbstractTreeElement | |
| TreeElement & | legacy_te_ |
| AbstractTreeDisplay * | display_ |
Definition at line 41 of file tree_element_overrides.hh.
| blender::ed::outliner::TreeElementOverridesBase::TreeElementOverridesBase | ( | TreeElement & | legacy_te, |
| ID & | id ) |
Definition at line 62 of file tree_element_overrides.cc.
References blender::ed::outliner::AbstractTreeElement::AbstractTreeElement(), blender::BLI_assert(), ELEM, id, IFACE_, blender::ed::outliner::TreeElement::name, blender::ed::outliner::TreeElement::parent, blender::ed::outliner::TreeElement::store_elem, blender::TSE_LAYER_COLLECTION, blender::TSE_LIBRARY_OVERRIDE_BASE, blender::TSE_SOME_ID, and blender::TreeStoreElem::type.
|
overridevirtual |
Let the type add its own children.
Reimplemented from blender::ed::outliner::AbstractTreeElement.
Definition at line 145 of file tree_element_overrides.cc.
References blender::BLI_assert(), blender::ed::outliner::OverrideRNAPathTreeBuilder::build_path(), blender::data, blender::ed::outliner::AbstractTreeElement::display_, blender::SpaceOutliner::filter, blender::ed::outliner::iterate_properties_to_display(), blender::ed::outliner::AbstractTreeElement::legacy_te_, blender::SO_FILTER_SHOW_SYSTEM_OVERRIDES, and SUPPORT_FILTER_OUTLINER.
|
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 76 of file tree_element_overrides.cc.
References blender::ID_FLAG_LIB_OVERRIDE_RESYNC_LEFTOVER, ID_IS_OVERRIDE_LIBRARY_REAL, ID_REAL_USERS, and RPT_.
The ID identifying this element in the tree-store, see #AbstractTreeDisplay::add_element().
Definition at line 51 of file tree_element_overrides.hh.
References id.
|
staticconstexpr |
Definition at line 45 of file tree_element_overrides.hh.
| ID& blender::ed::outliner::TreeElementOverridesBase::id |
Definition at line 43 of file tree_element_overrides.hh.
Referenced by owner_id(), blender::ed::outliner::tree_element_get_icon(), and TreeElementOverridesBase().