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 <ideasman42@gmail.com>2018-04-19 08:47:03 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-04-19 08:47:03 +0300
commit1f5d51e44ecf99f34d8e733559a9312e5ae3ef33 (patch)
treef8a2465eac96414a4bfe1da812aed48c8e284cb8 /source/blender/editors/space_node
parent5b45d32f3a4dfaa5f65e7ba59311863bf37c08da (diff)
Cleanup: style
Diffstat (limited to 'source/blender/editors/space_node')
-rw-r--r--source/blender/editors/space_node/drawnode.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/space_node/drawnode.c b/source/blender/editors/space_node/drawnode.c
index 1cb9c57404a..448286c7c3d 100644
--- a/source/blender/editors/space_node/drawnode.c
+++ b/source/blender/editors/space_node/drawnode.c
@@ -3441,7 +3441,7 @@ static void nodelink_batch_init(void)
Gwn_VertBuf *vbo = GWN_vertbuf_create_with_format_ex(&format, GWN_USAGE_STATIC);
int vcount = LINK_RESOL * 2; /* curve */
vcount += 2; /* restart strip */
- vcount += 3*2; /* arrow */
+ vcount += 3 * 2; /* arrow */
vcount *= 2; /* shadow */
vcount += 2; /* restart strip */
GWN_vertbuf_data_alloc(vbo, vcount);
@@ -3458,7 +3458,7 @@ static void nodelink_batch_init(void)
/* curve strip */
for (int i = 0; i < LINK_RESOL; ++i) {
- uv[0] = 255 * (i / (float)(LINK_RESOL-1));
+ uv[0] = 255 * (i / (float)(LINK_RESOL - 1));
uv[1] = 0;
set_nodelink_vertex(vbo, uv_id, pos_id, expand_id, v++, uv, pos, exp);
uv[1] = 255;