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:
Diffstat (limited to 'source/blender/editors/space_outliner/tree/tree_element_id.hh')
-rw-r--r--source/blender/editors/space_outliner/tree/tree_element_id.hh5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/editors/space_outliner/tree/tree_element_id.hh b/source/blender/editors/space_outliner/tree/tree_element_id.hh
index b7519fe06f9..c2bbfd9f107 100644
--- a/source/blender/editors/space_outliner/tree/tree_element_id.hh
+++ b/source/blender/editors/space_outliner/tree/tree_element_id.hh
@@ -35,6 +35,11 @@ class TreeElementID : public AbstractTreeElement {
return false;
}
+ ID &get_ID()
+ {
+ return id_;
+ }
+
protected:
/* ID types with animation data can use this. */
void expand_animation_data(SpaceOutliner &, const AnimData *) const;