|
Blender V5.0
|
#include "BKE_main_invariants.hh"#include "BKE_node_tree_update.hh"#include "DEG_depsgraph.hh"#include "DNA_node_types.h"#include "WM_api.hh"#include "WM_types.hh"#include <optional>Go to the source code of this file.
Functions | |
| static void | send_notifiers_after_node_tree_change (ID *id, bNodeTree *ntree) |
| static void | propagate_node_tree_changes (Main &bmain, const std::optional< blender::Span< ID * > > modified_ids) |
| void | BKE_main_ensure_invariants (Main &bmain, const std::optional< blender::Span< ID * > > modified_ids) |
| void | BKE_main_ensure_invariants (Main &bmain, ID &modified_id) |
| void BKE_main_ensure_invariants | ( | Main & | bmain, |
| const std::optional< blender::Span< ID * > > | modified_ids ) |
Definition at line 67 of file main_invariants.cc.
References propagate_node_tree_changes().
Referenced by BKE_main_ensure_invariants().
Same as above but the calling code is less verbose in the common case when only a single data-block has been modified.
Definition at line 72 of file main_invariants.cc.
References BKE_main_ensure_invariants().
|
static |
Definition at line 42 of file main_invariants.cc.
References BKE_ntree_update(), DEG_id_tag_update(), GS, bNodeTree::id, ID_NT, ID_RECALC_NTREE_OUTPUT, ID_RECALC_SYNC_TO_EVAL, params, and send_notifiers_after_node_tree_change().
Referenced by BKE_main_ensure_invariants().
Definition at line 16 of file main_invariants.cc.
References GS, ID_LA, ID_MA, ID_WO, NA_EDITED, ID::name, NC_LAMP, NC_MATERIAL, NC_NODE, NC_OBJECT, NC_SCENE, NC_TEXTURE, NC_WORLD, ND_LIGHTING, ND_MODIFIER, ND_NODES, ND_SHADING, ND_WORLD, NTREE_COMPOSIT, NTREE_GEOMETRY, NTREE_SHADER, NTREE_TEXTURE, bNodeTree::type, and WM_main_add_notifier().
Referenced by propagate_node_tree_changes().