Blender
V3.3
|
Public Member Functions | |
NodeTreeRelations (Main *bmain) | |
void | ensure_all_trees () |
void | ensure_owner_ids () |
void | ensure_group_node_users () |
void | ensure_modifier_users () |
Span< ObjectModifierPair > | get_modifier_users (bNodeTree *ntree) |
Span< TreeNodePair > | get_group_node_users (bNodeTree *ntree) |
ID * | get_owner_id (bNodeTree *ntree) |
Cache common data about node trees from the Main database that is expensive to retrieve on demand every time.
Definition at line 682 of file node_tree_update.cc.
|
inline |
Definition at line 691 of file node_tree_update.cc.
|
inline |
Definition at line 695 of file node_tree_update.cc.
References FOREACH_NODETREE_BEGIN, FOREACH_NODETREE_END, bNodeTree::id, and ntree.
|
inline |
Definition at line 720 of file node_tree_update.cc.
References GS, id, ID_NT, LISTBASE_FOREACH, ID::name, node, bNodeTree::nodes, and ntree.
|
inline |
Definition at line 746 of file node_tree_update.cc.
References eModifierType_Nodes, LISTBASE_FOREACH, NodesModifierData::node_group, and Main::objects.
Referenced by blender::bke::NodeTreeMainUpdater::update_rooted().
|
inline |
Definition at line 715 of file node_tree_update.cc.
Referenced by blender::bke::NodeTreeMainUpdater::update_rooted().
|
inline |
Definition at line 774 of file node_tree_update.cc.
References BLI_assert, and ntree.
Referenced by blender::bke::NodeTreeMainUpdater::update_rooted().
|
inline |
Definition at line 768 of file node_tree_update.cc.
References BLI_assert, and ntree.
Referenced by blender::bke::NodeTreeMainUpdater::update_rooted().
Definition at line 780 of file node_tree_update.cc.
References BLI_assert, bNodeTree::id, and ntree.
Referenced by blender::bke::NodeTreeMainUpdater::update_rooted().