Merge branch 'blender-v3.4-release'

This commit is contained in:
Campbell Barton 2022-11-08 12:18:44 +11:00
commit 452865c80d
1 changed files with 1 additions and 0 deletions

View File

@ -502,6 +502,7 @@ void ED_node_shader_default(const bContext *C, ID *id)
}
ma->nodetree = ntreeCopyTree(bmain, ma_default->nodetree);
ma->nodetree->owner_id = &ma->id;
BKE_ntree_update_main_tree(bmain, ma->nodetree, nullptr);
}
else if (ELEM(GS(id->name), ID_WO, ID_LA)) {