Fix T92268: Group input and output nodes have inconsistent padding
The group output node did not have the same size padding as the group input, leading to the node looking different and actually being smaller. Differential Revision: https://developer.blender.org/D13092
This commit is contained in:
@@ -382,8 +382,8 @@ static void node_update_basis(const bContext *C, bNodeTree *ntree, bNode *node)
|
||||
/* Header. */
|
||||
dy -= NODE_DY;
|
||||
|
||||
/* Little bit of space in top. */
|
||||
if (node->outputs.first) {
|
||||
/* Add a little bit of padding above the top socket. */
|
||||
if (node->outputs.first || node->inputs.first) {
|
||||
dy -= NODE_DYS / 2;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user