Fix #112330: Group sockets not initialized when created by link-drag
The link-drag operator creates the group interface socket, but then did not initialize the default value. Pull Request: https://projects.blender.org/blender/blender/pulls/112337
This commit is contained in:
@@ -93,6 +93,7 @@ static void add_group_input_node_fn(nodes::LinkSearchOpParams ¶ms)
|
||||
params.socket.typeinfo->idname,
|
||||
NODE_INTERFACE_SOCKET_INPUT,
|
||||
nullptr);
|
||||
socket_iface->init_from_socket_instance(¶ms.socket);
|
||||
BKE_ntree_update_tag_interface(¶ms.node_tree);
|
||||
|
||||
bNode &group_input = params.add_node("NodeGroupInput");
|
||||
|
||||
Reference in New Issue
Block a user