38void TreeElementIDGreasePencil::expand_layer_tree()
const
45void TreeElementIDGreasePencil::expand_materials()
const
47 for (
const int i :
IndexRange(grease_pencil_.material_array_num)) {
48 add_id_element({.index = i}, &grease_pencil_.material_array[i]->id);
Low-level operations for grease pencil.
constexpr IndexRange()=default
TreeElement * add_element(const TreeElementAddParams ¶ms, Args &&...args) const
TreeElement * add_id_element(const TreeElementAddParams ¶ms, ID *id) const
void expand(SpaceOutliner &) const override
TreeElementIDGreasePencil(TreeElement &legacy_te, GreasePencil &grease_pencil_)
TreeElementID(TreeElement &legacy_te, ID &id)
void expand_animation_data(AnimData *) const
Establish and manage Outliner trees for different display modes.