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
Notes: blender-bot 2023-04-12 07:52:24 +02:00
Referenced by issue #104435, Regression: create strip by Blender API - crash
Referenced by issue #105780, no more warning when checking Dyntopo
Referenced by issue #106705, Regression: Glossy Direct pass produce different results than it did in previous versions of Blender.
1 changed files with 0 additions and 3 deletions

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);
}
}