Fix #114251: Angle input of Compare node disconnected on reload

The issue was that `Angle` also starts with an `A`, just like the input
that is supposed to be handled by this compatibility code.
This commit is contained in:
Jacques Lucke
2023-10-31 13:44:09 +01:00
parent 86ccbc4353
commit 245da40f81

View File

@@ -450,6 +450,9 @@ static const char *get_current_socket_identifier_for_future_socket(
return get_identifier_from_decl({"A", "B", "Result"}, socket, socket_decls);
}
case FN_NODE_COMPARE: {
if (STREQ(socket.identifier, "Angle")) {
return nullptr;
}
return get_identifier_from_decl({"A", "B"}, socket, socket_decls);
}
case SH_NODE_MAP_RANGE: {