diff options
author | Aaron Carlisle <carlisle.b3d@gmail.com> | 2021-12-07 02:52:02 +0300 |
---|---|---|
committer | Aaron Carlisle <carlisle.b3d@gmail.com> | 2021-12-07 02:52:08 +0300 |
commit | 5cad004d716da02f511bd34983ac7da820308676 (patch) | |
tree | be791d87d400faf92d7149f2cacb0162f6928987 /source | |
parent | 97e3a2d935ba9b21b127eda7ca104d4bcf4e48bd (diff) |
Cleanup: clang format
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/nodes/NOD_socket_declarations.hh | 3 | ||||
-rw-r--r-- | source/blender/nodes/composite/nodes/node_composite_common.cc | 3 | ||||
-rw-r--r-- | source/blender/nodes/texture/nodes/node_texture_bricks.c | 1 |
3 files changed, 3 insertions, 4 deletions
diff --git a/source/blender/nodes/NOD_socket_declarations.hh b/source/blender/nodes/NOD_socket_declarations.hh index 98c8fa68876..1b78a09d6a8 100644 --- a/source/blender/nodes/NOD_socket_declarations.hh +++ b/source/blender/nodes/NOD_socket_declarations.hh @@ -226,7 +226,8 @@ class Shader : public SocketDeclaration { bool matches(const bNodeSocket &socket) const override; }; -class ShaderBuilder : public SocketDeclarationBuilder<Shader> {}; +class ShaderBuilder : public SocketDeclarationBuilder<Shader> { +}; /* -------------------------------------------------------------------- */ /** \name #FloatBuilder Inline Methods diff --git a/source/blender/nodes/composite/nodes/node_composite_common.cc b/source/blender/nodes/composite/nodes/node_composite_common.cc index baea93a78f4..f76ab765a51 100644 --- a/source/blender/nodes/composite/nodes/node_composite_common.cc +++ b/source/blender/nodes/composite/nodes/node_composite_common.cc @@ -38,8 +38,7 @@ void register_node_type_cmp_group() /* NOTE: Cannot use sh_node_type_base for node group, because it would map the node type * to the shared NODE_GROUP integer type id. */ - node_type_base_custom( - &ntype, "CompositorNodeGroup", "Group", NODE_CLASS_GROUP, 0); + node_type_base_custom(&ntype, "CompositorNodeGroup", "Group", NODE_CLASS_GROUP, 0); ntype.type = NODE_GROUP; ntype.poll = cmp_node_poll_default; ntype.poll_instance = node_group_poll_instance; diff --git a/source/blender/nodes/texture/nodes/node_texture_bricks.c b/source/blender/nodes/texture/nodes/node_texture_bricks.c index 966d05b4a16..72690d6ccfe 100644 --- a/source/blender/nodes/texture/nodes/node_texture_bricks.c +++ b/source/blender/nodes/texture/nodes/node_texture_bricks.c @@ -21,7 +21,6 @@ * \ingroup texnodes */ - #include "NOD_texture.h" #include "node_texture_util.h" |