Merge branch 'master' into blender2.8
[blender.git] / source / blender / blenkernel / intern / node.c
index ad0e2324fba3073b70c036db4ac69a413b8c5763..d33b1ce7d06c73946e931fc24c8a58e9fc914349 100644 (file)
@@ -2280,7 +2280,7 @@ StructRNA *ntreeInterfaceTypeGet(bNodeTree *ntree, int create)
                        
                        /* rename the RNA type */
                        RNA_def_struct_free_pointers(srna);
-                       RNA_def_struct_identifier(srna, identifier);
+                       RNA_def_struct_identifier(&BLENDER_RNA, srna, identifier);
                        RNA_def_struct_ui_text(srna, name, description);
                        RNA_def_struct_duplicate_pointers(srna);
                }