Cleanup: Remove unnecessary list clearing in node tree reading

The lists were cleared a few lines below already.
This commit is contained in:
Hans Goudey 2022-12-01 15:14:49 -06:00
parent 8842a8c4c3
commit b768a2bf2f
1 changed files with 0 additions and 3 deletions

View File

@ -143,9 +143,6 @@ static void ntree_copy_data(Main * /*bmain*/, ID *id_dst, const ID *id_src, cons
/* in case a running nodetree is copied */
ntree_dst->runtime->execdata = nullptr;
BLI_listbase_clear(&ntree_dst->nodes);
BLI_listbase_clear(&ntree_dst->links);
Map<const bNode *, bNode *> node_map;
Map<const bNodeSocket *, bNodeSocket *> socket_map;