Forgot those IDP_LibLinkProperty call on node sockets IDProps in previous commit...

This commit is contained in:
Bastien Montagne 2017-03-28 14:37:18 +02:00
parent 59bb4ca1b0
commit 69aa6577b3

@ -2769,12 +2769,16 @@ static void lib_link_ntree(FileData *fd, ID *id, bNodeTree *ntree)
* of library blocks that implement this.*/
IDP_LibLinkProperty(node->prop, (fd->flags & FD_FLAGS_SWITCH_ENDIAN), fd);
node->id= newlibadr_us(fd, id->lib, node->id);
node->id = newlibadr_us(fd, id->lib, node->id);
for (sock = node->inputs.first; sock; sock = sock->next)
for (sock = node->inputs.first; sock; sock = sock->next) {
IDP_LibLinkProperty(sock->prop, (fd->flags & FD_FLAGS_SWITCH_ENDIAN), fd);
lib_link_node_socket(fd, id, sock);
for (sock = node->outputs.first; sock; sock = sock->next)
}
for (sock = node->outputs.first; sock; sock = sock->next) {
IDP_LibLinkProperty(sock->prop, (fd->flags & FD_FLAGS_SWITCH_ENDIAN), fd);
lib_link_node_socket(fd, id, sock);
}
}
for (sock = ntree->inputs.first; sock; sock = sock->next) {