Cleanup: Make format
This commit is contained in:
@@ -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);
|
||||
|
||||
|
@@ -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
|
||||
|
@@ -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
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user