Blender Git Commit Log

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)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021