[Bf-blender-cvs] [69aa6577b3d] master: Forgot those IDP_LibLinkProperty call on node sockets IDProps in previous commit...
Bastien Montagne
noreply at git.blender.org
Tue Mar 28 14:38:19 CEST 2017
Commit: 69aa6577b3dfea5d8a6d915fad7fb7650d8b6278
Author: Bastien Montagne
Date: Tue Mar 28 14:37:18 2017 +0200
Branches: master
https://developer.blender.org/rB69aa6577b3dfea5d8a6d915fad7fb7650d8b6278
Forgot those IDP_LibLinkProperty call on node sockets IDProps in previous commit...
===================================================================
M source/blender/blenloader/intern/readfile.c
===================================================================
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c
index 18c4034c0dd..09c88ac945a 100644
--- a/source/blender/blenloader/intern/readfile.c
+++ b/source/blender/blenloader/intern/readfile.c
@@ -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) {
More information about the Bf-blender-cvs
mailing list