mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
Fix: dangling internal links after removing sockets
This is a follow up for rBd5e73fa13dd275fb9c76b1e41142ab086dd2e6be. The issue was found with the file in T95997.
This commit is contained in:
parent
476fe7d164
commit
9216cf9cb5
1 changed files with 2 additions and 0 deletions
|
|
@ -1973,6 +1973,8 @@ void nodeRemoveAllSockets(bNodeTree *ntree, bNode *node)
|
|||
}
|
||||
}
|
||||
|
||||
BLI_freelistN(&node->internal_links);
|
||||
|
||||
LISTBASE_FOREACH_MUTABLE (bNodeSocket *, sock, &node->inputs) {
|
||||
node_socket_free(sock, true);
|
||||
MEM_freeN(sock);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue