Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <campbell@blender.org>2022-04-05 00:51:48 +0300
committerFabian Schempp <fabianschempp@googlemail.com>2022-04-11 01:31:57 +0300
commita6a9273a1486757cf69dbaf0656a37ba63662067 (patch)
treebc31a55391d3a39d69803281d4aec314cb816db2 /source/blender/editors/space_node/node_draw.cc
parent443929664a2c0799071da36de95b7dd495aeb081 (diff)
Cleanup: clang-format
Also add space below file references.
Diffstat (limited to 'source/blender/editors/space_node/node_draw.cc')
-rw-r--r--source/blender/editors/space_node/node_draw.cc16
1 files changed, 14 insertions, 2 deletions
diff --git a/source/blender/editors/space_node/node_draw.cc b/source/blender/editors/space_node/node_draw.cc
index 68cfd1c9ef0..88ab7617932 100644
--- a/source/blender/editors/space_node/node_draw.cc
+++ b/source/blender/editors/space_node/node_draw.cc
@@ -2579,8 +2579,20 @@ static void reroute_node_draw(
const int x = BLI_rctf_cent_x(&node.totr) - (width / 2);
const int y = node.totr.ymax;
- uiBut *label_but = uiDefBut(
- &block, UI_BTYPE_LABEL, 0, showname, x, y, width, (short)NODE_DY, nullptr, 0, 0, 0, 0, nullptr);
+ uiBut *label_but = uiDefBut(&block,
+ UI_BTYPE_LABEL,
+ 0,
+ showname,
+ x,
+ y,
+ width,
+ (short)NODE_DY,
+ nullptr,
+ 0,
+ 0,
+ 0,
+ 0,
+ nullptr);
UI_but_drawflag_disable(label_but, UI_BUT_TEXT_LEFT);
}