Blender
V3.3
|
#include <tree_element_overrides.hh>
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 | getWarning () const override |
![]() | |
virtual | ~AbstractTreeElement ()=default |
virtual bool | expandPoll (const SpaceOutliner &) const |
virtual bool | isExpandValid () const |
TreeElement & | getLegacyElement () |
virtual std::optional< BIFIconID > | getIcon () const |
Public Attributes | |
ID & | id |
Additional Inherited Members | |
![]() | |
static std::unique_ptr< AbstractTreeElement > | createFromType (int type, TreeElement &legacy_te, void *idv) |
static void | uncollapse_by_default (TreeElement *legacy_te) |
![]() | |
AbstractTreeElement (TreeElement &legacy_te) | |
![]() | |
TreeElement & | legacy_te_ |
Definition at line 35 of file tree_element_overrides.hh.
blender::ed::outliner::TreeElementOverridesBase::TreeElementOverridesBase | ( | TreeElement & | legacy_te, |
ID & | id | ||
) |
Definition at line 58 of file tree_element_overrides.cc.
References BLI_assert, ELEM, IFACE_, TreeElement::name, TreeElement::parent, TreeElement::store_elem, TSE_LAYER_COLLECTION, TSE_LIBRARY_OVERRIDE_BASE, TSE_SOME_ID, and TreeStoreElem::type.
|
overridevirtual |
Let the type add its own children.
Reimplemented from blender::ed::outliner::AbstractTreeElement.
Definition at line 137 of file tree_element_overrides.cc.
References BLI_assert, blender::ed::outliner::OverrideRNAPathTreeBuilder::build_path(), data, SpaceOutliner::filter, blender::ed::outliner::iterate_properties_to_display(), blender::ed::outliner::AbstractTreeElement::legacy_te_, 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 71 of file tree_element_overrides.cc.
References ID_IS_OVERRIDE_LIBRARY_REAL, ID_REAL_USERS, LIB_LIB_OVERRIDE_RESYNC_LEFTOVER, and TIP_.
ID& blender::ed::outliner::TreeElementOverridesBase::id |
Definition at line 37 of file tree_element_overrides.hh.
Referenced by tree_element_get_icon().