diff options
author | Aaron Carlisle <carlisle.b3d@gmail.com> | 2021-09-29 01:03:33 +0300 |
---|---|---|
committer | Aaron Carlisle <carlisle.b3d@gmail.com> | 2021-09-29 01:03:33 +0300 |
commit | 7f5d62dfc62275cb9ba02f0110dc79f9053f3e67 (patch) | |
tree | 5b213a9b288d3a43295ba35311590ba59fbe5be0 /source/blender | |
parent | 4a484822478d544b63314504964ee95b709e7246 (diff) |
Cleanup: Make format
Diffstat (limited to 'source/blender')
4 files changed, 6 insertions, 8 deletions
diff --git a/source/blender/nodes/composite/nodes/node_composite_mask.cc b/source/blender/nodes/composite/nodes/node_composite_mask.cc index db8fb5e4ed2..8b415bb8b63 100644 --- a/source/blender/nodes/composite/nodes/node_composite_mask.cc +++ b/source/blender/nodes/composite/nodes/node_composite_mask.cc @@ -61,7 +61,7 @@ void register_node_type_cmp_mask(void) static bNodeType ntype; cmp_node_type_base(&ntype, CMP_NODE_MASK, "Mask", NODE_CLASS_INPUT, 0); - ntype.declare = blender::nodes::cmp_node_mask_declare; + ntype.declare = blender::nodes::cmp_node_mask_declare; node_type_init(&ntype, node_composit_init_mask); node_type_label(&ntype, node_mask_label); diff --git a/source/blender/nodes/composite/nodes/node_composite_movieclip.cc b/source/blender/nodes/composite/nodes/node_composite_movieclip.cc index ea9c1268d06..ae91212f811 100644 --- a/source/blender/nodes/composite/nodes/node_composite_movieclip.cc +++ b/source/blender/nodes/composite/nodes/node_composite_movieclip.cc @@ -26,7 +26,6 @@ #include "BKE_context.h" #include "BKE_lib_id.h" - namespace blender::nodes { static void cmp_node_movieclip_declare(NodeDeclarationBuilder &b) @@ -37,8 +36,6 @@ static void cmp_node_movieclip_declare(NodeDeclarationBuilder &b) b.add_output<decl::Float>("Offset Y"); b.add_output<decl::Float>("Scale"); b.add_output<decl::Float>("Angle"); - - } } // namespace blender::nodes diff --git a/source/blender/nodes/composite/nodes/node_composite_texture.cc b/source/blender/nodes/composite/nodes/node_composite_texture.cc index 7ee378a1a43..eff008b4b41 100644 --- a/source/blender/nodes/composite/nodes/node_composite_texture.cc +++ b/source/blender/nodes/composite/nodes/node_composite_texture.cc @@ -30,11 +30,13 @@ namespace blender::nodes { static void cmp_node_texture_declare(NodeDeclarationBuilder &b) { b.add_input<decl::Vector>("Offset").min(-2.0f).max(2.0f).subtype(PROP_TRANSLATION); - b.add_input<decl::Vector>("Scale").default_value({1.0f, 1.0f, 1.0f}).min(-10.0f).max(10.0f).subtype(PROP_XYZ); + b.add_input<decl::Vector>("Scale") + .default_value({1.0f, 1.0f, 1.0f}) + .min(-10.0f) + .max(10.0f) + .subtype(PROP_XYZ); b.add_output<decl::Float>("Value"); b.add_output<decl::Color>("Color"); - - } } // namespace blender::nodes diff --git a/source/blender/nodes/composite/nodes/node_composite_trackpos.cc b/source/blender/nodes/composite/nodes/node_composite_trackpos.cc index 433f9dffb2b..cb5c9468daa 100644 --- a/source/blender/nodes/composite/nodes/node_composite_trackpos.cc +++ b/source/blender/nodes/composite/nodes/node_composite_trackpos.cc @@ -30,7 +30,6 @@ static void cmp_node_trackpos_declare(NodeDeclarationBuilder &b) b.add_output<decl::Float>("X"); b.add_output<decl::Float>("Y"); b.add_output<decl::Vector>("Speed").subtype(PROP_VELOCITY); - } } // namespace blender::nodes |