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:
@@ -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";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user