Nodes: hide shader input in node properties panel
This was missing in d27a1c47fa.
This commit is contained in:
@@ -44,7 +44,8 @@ static void draw_node_input(bContext *C,
|
||||
BLI_assert(socket.typeinfo != nullptr);
|
||||
/* Ignore disabled sockets and linked sockets and sockets without a `draw` callback. */
|
||||
if (!socket.is_available() || (socket.flag & (SOCK_IS_LINKED | SOCK_HIDE_VALUE)) ||
|
||||
socket.typeinfo->draw == nullptr || ELEM(socket.type, SOCK_GEOMETRY, SOCK_MATRIX))
|
||||
socket.typeinfo->draw == nullptr ||
|
||||
ELEM(socket.type, SOCK_GEOMETRY, SOCK_MATRIX, SOCK_SHADER))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user