Fix: String file path interface socket has wrong type

The string interface sockets with a file path subtype are assigned a
vector translation type, which is probably a typo in the original
implementation.

Pull Request: https://projects.blender.org/blender/blender/pulls/138803
This commit is contained in:
Omar Emara
2025-05-13 10:56:56 +02:00
committed by Omar Emara
parent 944f793aa2
commit 0cee690de3

View File

@@ -2669,7 +2669,7 @@ std::optional<StringRefNull> node_static_socket_interface_type_new(const int typ
case SOCK_STRING:
switch (PropertySubType(subtype)) {
case PROP_FILEPATH:
return "NodeTreeInterfaceSocketVectorTranslation";
return "NodeTreeInterfaceSocketStringFilePath";
default:
return "NodeTreeInterfaceSocketString";
}