diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-04-17 07:17:24 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-04-17 07:21:24 +0300 |
commit | e12c08e8d170b7ca40f204a5b0423c23a9fbc2c1 (patch) | |
tree | 8cf3453d12edb177a218ef8009357518ec6cab6a /source/blender/nodes/composite/nodes/node_composite_sunbeams.c | |
parent | b3dabc200a4b0399ec6b81f2ff2730d07b44fcaa (diff) |
ClangFormat: apply to source, most of intern
Apply clang format as proposed in T53211.
For details on usage and instructions for migrating branches
without conflicts, see:
https://wiki.blender.org/wiki/Tools/ClangFormat
Diffstat (limited to 'source/blender/nodes/composite/nodes/node_composite_sunbeams.c')
-rw-r--r-- | source/blender/nodes/composite/nodes/node_composite_sunbeams.c | 29 |
1 files changed, 15 insertions, 14 deletions
diff --git a/source/blender/nodes/composite/nodes/node_composite_sunbeams.c b/source/blender/nodes/composite/nodes/node_composite_sunbeams.c index cc949eded38..cdea27efdfc 100644 --- a/source/blender/nodes/composite/nodes/node_composite_sunbeams.c +++ b/source/blender/nodes/composite/nodes/node_composite_sunbeams.c @@ -24,32 +24,33 @@ #include "node_composite_util.h" static bNodeSocketTemplate inputs[] = { - { SOCK_RGBA, 1, N_("Image"), 1.0f, 1.0f, 1.0f, 1.0f}, - { -1, 0, "" }, + {SOCK_RGBA, 1, N_("Image"), 1.0f, 1.0f, 1.0f, 1.0f}, + {-1, 0, ""}, }; static bNodeSocketTemplate outputs[] = { - { SOCK_RGBA, 0, N_("Image")}, - { -1, 0, "" }, + {SOCK_RGBA, 0, N_("Image")}, + {-1, 0, ""}, }; static void init(bNodeTree *UNUSED(ntree), bNode *node) { - NodeSunBeams *data = MEM_callocN(sizeof(NodeSunBeams), "sun beams node"); + NodeSunBeams *data = MEM_callocN(sizeof(NodeSunBeams), "sun beams node"); - data->source[0] = 0.5f; - data->source[1] = 0.5f; + data->source[0] = 0.5f; + data->source[1] = 0.5f; - node->storage = data; + node->storage = data; } void register_node_type_cmp_sunbeams(void) { - static bNodeType ntype; + static bNodeType ntype; - cmp_node_type_base(&ntype, CMP_NODE_SUNBEAMS, "Sun Beams", NODE_CLASS_OP_FILTER, 0); - node_type_socket_templates(&ntype, inputs, outputs); - node_type_init(&ntype, init); - node_type_storage(&ntype, "NodeSunBeams", node_free_standard_storage, node_copy_standard_storage); + cmp_node_type_base(&ntype, CMP_NODE_SUNBEAMS, "Sun Beams", NODE_CLASS_OP_FILTER, 0); + node_type_socket_templates(&ntype, inputs, outputs); + node_type_init(&ntype, init); + node_type_storage( + &ntype, "NodeSunBeams", node_free_standard_storage, node_copy_standard_storage); - nodeRegisterType(&ntype); + nodeRegisterType(&ntype); } |