1
1

Cleanup: Make format

This commit is contained in:
2021-09-28 18:03:33 -04:00
parent 4a48482247
commit 7f5d62dfc6
4 changed files with 6 additions and 8 deletions

View File

@@ -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);

View File

@@ -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

View File

@@ -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

View File

@@ -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