Fix: group input node socket with gizmo does not show label

This commit is contained in:
Jacques Lucke
2024-07-12 13:09:57 +02:00
parent 09c29ed625
commit 052d011c5e

View File

@@ -1327,7 +1327,7 @@ static void std_node_socket_draw(
FN_NODE_INPUT_ROTATION,
NODE_GROUP_INPUT))
{
if (node->is_group_output()) {
if (node->is_group_input()) {
uiLayout *row = uiLayoutRow(layout, false);
uiLayoutSetAlignment(row, UI_LAYOUT_ALIGN_RIGHT);
node_socket_button_label(C, row, ptr, node_ptr, text);