49 expand_gpencil_modifiers();
50 expand_gpencil_effects();
51 expand_vertex_groups();
52 expand_duplicated_group();
55void TreeElementIDObject::expand_data()
const
60void TreeElementIDObject::expand_pose()
const
68void TreeElementIDObject::expand_materials()
const
70 for (
int a = 0; a < object_.totcol; a++) {
71 add_id_element({.index = a},
reinterpret_cast<ID *
>(object_.mat[a]));
75void TreeElementIDObject::expand_constraints()
const
77 if (object_.constraints.is_empty()) {
82 for (
const auto [index, con] : object_.constraints.enumerate()) {
88void TreeElementIDObject::expand_modifiers()
const
90 if (object_.modifiers.is_empty()) {
96void TreeElementIDObject::expand_gpencil_modifiers()
const
98 if (object_.greasepencil_modifiers.is_empty()) {
104void TreeElementIDObject::expand_gpencil_effects()
const
106 if (object_.shader_fx.is_empty()) {
112void TreeElementIDObject::expand_vertex_groups()
const
118 if (defbase->is_empty()) {
124void TreeElementIDObject::expand_duplicated_group()
const
127 add_id_element({},
reinterpret_cast<ID *
>(object_.instance_collection));
ID and Library types, which are fundamental for SDNA.
Object is a sort of wrapper for general info.
TreeElement * add_element(const TreeElementAddParams ¶ms, Args &&...args) const
TreeElement * add_id_element(const TreeElementAddParams ¶ms, ID *id) const
TreeElementIDObject(TreeElement &legacy_te, Object &object)
void expand(SpaceOutliner &) const override
TreeElementID(TreeElement &legacy_te, ID &id)
void expand_animation_data(AnimData *) const
const ListBaseT< bDeformGroup > * BKE_object_defgroup_list(const Object *ob)
Establish and manage Outliner trees for different display modes.