Blender Git Loki

Git Commits -> Revision 26911ba

Revision 26911ba by Omar Emara (master)
August 10, 2019, 15:57 (GMT)
Nodes: Display vector values expanded, except when specified as compact.

Change the default drawing method of vector sockets to use a column layout.
This allows more interactive use of nodes and avoids the one or two clicks
needed to edit vector sockets in the old default component layout.

Developers may still use the component layout by flaging the socket with the
`SOCK_COMPACT` socket flag. For now, we choose to draw the SSS scale vector
of the Principled and SSS nodes in a compact form because they don't require
much interactivity.

Reviewers: brecht, JacquesLucke

Differential Revision: https://developer.blender.org/D5458

Commit Details:

Full Hash: 26911ba1e26b90d7fafcd2e877a52c55181896c1
Parent Commit: f51f435
Lines Changed: +21, -3

4 Modified Paths:

/source/blender/editors/space_node/drawnode.c (+7, -1) (Diff)
/source/blender/makesdna/DNA_node_types.h (+2, -0) (Diff)
/source/blender/nodes/shader/nodes/node_shader_bsdf_principled.c (+11, -1) (Diff)
/source/blender/nodes/shader/nodes/node_shader_subsurface_scattering.c (+1, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021