This makes texture sockets have a label by default. This can be changed
by adding the SOCK_HIDE_LABEL flag to the socket. With this change the
switch node now shows the labels "True" and "False" like for the other
types of sockets.
UI:
Differential D11754
Add a label for texture sockets Authored by Wannes Malfait (Wannes) on Jun 30 2021, 12:13 PM. Tags Subscribers None
Details
This makes texture sockets have a label by default. This can be changed UI:
Diff Detail
Event TimelineComment Actions I think you might have to do something like the string socket does currently with uiLayout *row = uiLayoutSplit(layout, 0.4f, false); to get the alignment to look nicer.
Comment Actions Committed with rBcd692c695462: Geometry Nodes: Add labels for switch node texture sockets (forgot the "Differential Revision" field) | ||||||||||||||||||