Blender Git Loki

Git Commits -> Revision 9306037

Revision 9306037 by Alexander Gavrilov (master)
August 4, 2020, 08:29 (GMT)
Node Groups: expose the SOCK_HIDE_VALUE flag for node group inputs.

This flag specifies that even when the socket is not connected,
the node should not display the input field for the constant input
value. This is useful for inputs like Normal, which have special
handling for the missing input case and don't use a constant value.
Currently there is no way to change this flag from Python, and
through UI it can only be done by re-creating the socket.

This patch exposes the flag through RNA and UI, makes sure it
is properly updated when changed, and adds special handling to
ensure that it is correctly set when creating a node group from
a node set that includes reroute nodes.

Differential Revision:

Commit Details:

Full Hash: 9306037ed3d14a7afce607738f83c8b9968d478d
Parent Commit: b016e7f
Lines Changed: +87, -11

Tehnyt: Miika HämäläinenViimeksi p?ivitetty: 07.11.2014 14:18 MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2020