Page MenuHome
Paste P1078

Masterwork From Distant Lands

Authored by Dalai Felinto (dfelinto) on Aug 22 2019, 3:15 PM.
commit 697b0dd8c4aa562c2a7f71f903ed96ae1c4fe200
Author: Dalai Felinto <>
Date: Thu Aug 22 10:13:46 2019 -0300
Fix build broken since recent change to ntreeAddTree
Build broken since 8f578150eaf4.
diff --git a/source/blender/makesrna/intern/rna_main_api.c b/source/blender/makesrna/intern/rna_main_api.c
index fec991e16da..de6f271fd9c 100644
--- a/source/blender/makesrna/intern/rna_main_api.c
+++ b/source/blender/makesrna/intern/rna_main_api.c
@@ -312,7 +312,7 @@ static struct bNodeTree *rna_Main_nodetree_new(Main *bmain, const char *name, in
bNodeTreeType *typeinfo = rna_node_tree_type_from_enum(type);
if (typeinfo) {
- bNodeTree *ntree = ntreeAddTree(bmain, safe_name, typeinfo->idname);
+ bNodeTree *ntree = ntreeAddTree(bmain, safe_name, typeinfo->idname, NULL);
return ntree;

Event Timeline

Dalai Felinto (dfelinto) changed the title of this paste from untitled to Masterwork From Distant Lands.