Revert "Geometry Nodes: hide group inputs with "Hide Value" enabled in modifier"

This reverts commit 11a9578a19.

Reverting this because there was a miscommunication between Simon and me. Shortly
before I committed the change, Simon noticed that there are cases when "Hide Value"
is checked to hide the value in a group node, but we still want to show the value
in the modifier.
This commit is contained in:
Jacques Lucke
2023-01-31 19:28:22 +01:00
parent 3750e7ef0b
commit 345dded146

View File

@@ -1733,9 +1733,6 @@ static void panel_draw(const bContext *C, Panel *panel)
int socket_index;
LISTBASE_FOREACH_INDEX (bNodeSocket *, socket, &nmd->node_group->inputs, socket_index) {
if (socket->flag & SOCK_HIDE_VALUE) {
continue;
}
draw_property_for_socket(*C, layout, nmd, &bmain_ptr, ptr, *socket, socket_index);
}
}