70 std::optional<Vector<bNodeTree *>> modified_trees;
71 if (modified_ids.has_value()) {
72 modified_trees.emplace();
73 for (
ID *
id : *modified_ids) {
75 modified_trees->append(
reinterpret_cast<bNodeTree *
>(
id));
#define ND_NODE_ASSET_DATA
void WM_main_add_notifier(uint type, void *reference)
void BKE_ntree_update(Main &bmain, std::optional< Span< bNodeTree * > > modified_trees=std::nullopt, const NodeTreeUpdateExtraParams ¶ms={})
static void send_notifiers_after_node_tree_change(ID *id, bNodeTree *ntree)
void DEG_id_tag_update(ID *id, unsigned int flags)
void BKE_main_ensure_invariants(Main &bmain, std::optional< Span< ID * > > modified_ids=std::nullopt)
static void propagate_node_tree_changes(Main &bmain, const std::optional< Span< ID * > > modified_ids)
ID_Type GS(const char *name)
struct GeometryNodeAssetTraits * geometry_node_asset_traits