Fix #94413: Hide added input sockets on group inputs with hidden sockets #120067

Merged
Hans Goudey merged 16 commits from lone_noel/blender:node-group-hidden-sockets into main 2024-04-18 19:20:18 +02:00

16 Commits

Author SHA1 Message Date
Leon Schittek 3e60f80dc0 Merge branch 'main' into node-group-hidden-sockets 2024-04-18 19:11:11 +02:00
Leon Schittek 3aae81b796 Add assert. 2024-04-18 18:16:53 +02:00
Leon Schittek aa124beb7a Merge branch 'main' into node-group-hidden-sockets 2024-04-16 22:49:37 +02:00
Leon Schittek bcc3ac26df Use the visibility of the extension socket as indicator for when to show
new inputs on group input nodes.
2024-04-16 22:44:34 +02:00
Leon Schittek 2ddf30b29d Remove versioning. 2024-04-14 21:02:05 +02:00
Leon Schittek 5c2049a601 Rename variables according to review. 2024-04-14 20:59:24 +02:00
Leon Schittek 5985473dd5 Cleanup: Use macro to set flag. 2024-04-14 16:12:54 +02:00
Leon Schittek 5535233f74 Fix typo. 2024-04-14 15:55:27 +02:00
Leon Schittek cfa488d2f2 Fix sockets being unhidden, when changing their type. 2024-04-14 15:52:34 +02:00
Leon Schittek d0d9d00a1e Don't use flag to keep track of socket visibility update state. 2024-04-14 15:51:51 +02:00
Leon Schittek 7599e98857 Merge branch 'main' into node-group-hidden-sockets 2024-04-14 14:07:21 +02:00
Leon Schittek 63b4a13d43 Add comment and remove parentheses. 2024-03-29 17:21:51 +01:00
Leon Schittek 96b5c1454c Add versioning. 2024-03-29 15:56:53 +01:00
Leon Schittek 326d008ef5 Always update group input nodes that are not set to hide unused sockets. 2024-03-29 15:29:44 +01:00
Leon Schittek 5d32254113 Don't always add new group input sockets to selected input nodes. 2024-03-29 15:28:58 +01:00
Leon Schittek 1ab7885c50 Fix #94413: Keep new group input sockets hidden
Update old patch: https://archive.blender.org/developer/D14531
2024-03-29 14:56:00 +01:00