Blender Git Loki

Git Commits -> Revision 3b965ba

Revision 3b965ba by Alessio Monti di Sopra (master)
December 17, 2021, 14:04 (GMT)
UI: Fix node socket alignment in some cases

The patch fixes some misalignments in the nodes' sockets/options
recently introduced in 26d2caee3ba0, while maintaining the original
fix for T92268.

The original fix made the top padding always of the same size; while
that works when the first row of the other node is `Socket | Socket`,
it doesn't for other more common cases, `like Socket | Node Option`,
where the text results misaligned.

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

Commit Details:

Full Hash: 3b965ba10bf649922477cee41da9ed492299313c
Parent Commit: b386f96
Committed By: Hans Goudey
Lines Changed: +6, -2

1 Modified Path:

/source/blender/editors/space_node/node_draw.cc (+6, -2) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021