Fix T78080: group node has incorrect sockets after changing group
It was only checking for the identifier, but the type has to be equivalent as well. Reviewers: mano-wii, brecht Differential Revision: https://developer.blender.org/D8101
This commit is contained in:
@@ -125,7 +125,7 @@ static bNodeSocket *group_verify_socket(
|
||||
bNodeSocket *sock;
|
||||
|
||||
for (sock = verify_lb->first; sock; sock = sock->next) {
|
||||
if (STREQ(sock->identifier, iosock->identifier)) {
|
||||
if (sock->typeinfo == iosock->typeinfo && STREQ(sock->identifier, iosock->identifier)) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user