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:
parent
ff0df7c546
commit
e761d0bdc9
Notes:
blender-bot
2023-02-14 09:02:40 +01:00
Referenced by issue #78080, Nodegroups: Wrong input socket color
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue