Fix node group socket order when making a group from a single node
This is a special case in the node group operator which exposes all the sockets when only one node is selected. This was still creating sockets in inputs..outputs order, unlike the general case with multiple nodes. Followup fix for #112073 Pull Request: https://projects.blender.org/blender/blender/pulls/112226
This commit is contained in:
@@ -1100,8 +1100,8 @@ static void node_group_make_insert_selected(const bContext &C,
|
||||
}
|
||||
}
|
||||
};
|
||||
expose_sockets(node->input_sockets());
|
||||
expose_sockets(node->output_sockets());
|
||||
expose_sockets(node->input_sockets());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user