Merge branch 'master' into blender2.8
This commit is contained in:
@@ -637,9 +637,6 @@ static StructRNA *rna_NodeTree_register(
|
||||
if (nt) {
|
||||
rna_NodeTree_unregister(bmain, nt->ext.srna);
|
||||
}
|
||||
if (!RNA_struct_available_or_report(reports, dummynt.idname)) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
/* create a new node tree type */
|
||||
nt = MEM_callocN(sizeof(bNodeTreeType), "node tree type");
|
||||
@@ -1403,9 +1400,6 @@ static bNodeType *rna_Node_register_base(Main *bmain, ReportList *reports, Struc
|
||||
if (nt) {
|
||||
rna_Node_unregister(bmain, nt->ext.srna);
|
||||
}
|
||||
if (!RNA_struct_available_or_report(reports, dummynt.idname)) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
/* create a new node type */
|
||||
nt = MEM_callocN(sizeof(bNodeType), "node type");
|
||||
|
||||
Reference in New Issue
Block a user