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:
authorAaron Carlisle <carlisle.b3d@gmail.com>2021-12-07 02:52:02 +0300
committerAaron Carlisle <carlisle.b3d@gmail.com>2021-12-07 02:52:08 +0300
commit5cad004d716da02f511bd34983ac7da820308676 (patch)
treebe791d87d400faf92d7149f2cacb0162f6928987
parent97e3a2d935ba9b21b127eda7ca104d4bcf4e48bd (diff)
Cleanup: clang format
-rw-r--r--source/blender/nodes/NOD_socket_declarations.hh3
-rw-r--r--source/blender/nodes/composite/nodes/node_composite_common.cc3
-rw-r--r--source/blender/nodes/texture/nodes/node_texture_bricks.c1
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"