Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Montagne <b.mont29@gmail.com>2020-03-06 16:57:26 +0300
committerBastien Montagne <b.mont29@gmail.com>2020-03-06 16:58:23 +0300
commitf9c7442479a9969ae8c366270c12cd12306750da (patch)
tree65c6611bcb87daf983831aa456701d5ee5c68e51 /source/blender/blenkernel/intern/lib_id.c
parent165daee7cbe592e933318bfeb044edc9817bb277 (diff)
Cleanup: bNodeTree: Move to IDTypeInfo and remove unused BKE API.
Diffstat (limited to 'source/blender/blenkernel/intern/lib_id.c')
-rw-r--r--source/blender/blenkernel/intern/lib_id.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/source/blender/blenkernel/intern/lib_id.c b/source/blender/blenkernel/intern/lib_id.c
index b092029c538..954f1d51b6f 100644
--- a/source/blender/blenkernel/intern/lib_id.c
+++ b/source/blender/blenkernel/intern/lib_id.c
@@ -555,9 +555,7 @@ bool BKE_lib_id_make_local(Main *bmain, ID *id, const bool test, const int flags
}
return true;
case ID_NT:
- if (!test) {
- ntreeMakeLocal(bmain, (bNodeTree *)id, flags);
- }
+ BLI_assert(0);
return true;
case ID_BR:
BLI_assert(0);
@@ -773,7 +771,7 @@ bool BKE_id_copy_ex(Main *bmain, const ID *id, ID **r_newid, const int flag)
BKE_action_copy_data(bmain, (bAction *)*r_newid, (bAction *)id, flag);
break;
case ID_NT:
- BKE_node_tree_copy_data(bmain, (bNodeTree *)*r_newid, (bNodeTree *)id, flag);
+ BLI_assert(0);
break;
case ID_BR:
BLI_assert(0);
@@ -1400,7 +1398,7 @@ void BKE_libblock_init_empty(ID *id)
/* Nothing to do. */
break;
case ID_NT:
- ntreeInitDefault((bNodeTree *)id);
+ BLI_assert(0);
break;
case ID_BR:
BLI_assert(0);