diff options
Diffstat (limited to 'source/blender/blenkernel/intern/node.c')
-rw-r--r-- | source/blender/blenkernel/intern/node.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/node.c b/source/blender/blenkernel/intern/node.c index c8632a40d1a..56a76a54955 100644 --- a/source/blender/blenkernel/intern/node.c +++ b/source/blender/blenkernel/intern/node.c @@ -1777,7 +1777,7 @@ void ntreeFreeTree_ex(bNodeTree *ntree, const bool do_id_user) if (tntree == ntree) break; if (tntree == NULL) { - BKE_libblock_free_data(&ntree->id); + BKE_libblock_free_data(G.main, &ntree->id); } } /* same as ntreeFreeTree_ex but always manage users */ |