Cleanup: clang-format
This commit is contained in:
parent
f49dff97d4
commit
b57b4dfab1
|
@ -1927,8 +1927,8 @@ static int multires_subdivide_exec(bContext *C, wmOperator *op)
|
|||
return OPERATOR_CANCELLED;
|
||||
}
|
||||
|
||||
const eMultiresSubdivideModeType subdivide_mode = (eMultiresSubdivideModeType)(
|
||||
RNA_enum_get(op->ptr, "mode"));
|
||||
const eMultiresSubdivideModeType subdivide_mode = (eMultiresSubdivideModeType)(RNA_enum_get(
|
||||
op->ptr, "mode"));
|
||||
multiresModifier_subdivide(object, mmd, subdivide_mode);
|
||||
|
||||
ED_object_iter_other(
|
||||
|
|
|
@ -41,6 +41,6 @@ void register_node_type_cmp_premulkey(void)
|
|||
|
||||
cmp_node_type_base(&ntype, CMP_NODE_PREMULKEY, "Alpha Convert", NODE_CLASS_CONVERTER, 0);
|
||||
ntype.declare = blender::nodes::cmp_node_premulkey_declare;
|
||||
|
||||
|
||||
nodeRegisterType(&ntype);
|
||||
}
|
||||
|
|
|
@ -34,7 +34,6 @@ static void cmp_node_sephsva_declare(NodeDeclarationBuilder &b)
|
|||
b.add_output<decl::Float>("S");
|
||||
b.add_output<decl::Float>("V");
|
||||
b.add_output<decl::Float>("A");
|
||||
|
||||
}
|
||||
|
||||
} // namespace blender::nodes
|
||||
|
|
|
@ -33,7 +33,6 @@ static void cmp_node_seprgba_declare(NodeDeclarationBuilder &b)
|
|||
b.add_output<decl::Float>("G");
|
||||
b.add_output<decl::Float>("B");
|
||||
b.add_output<decl::Float>("A");
|
||||
|
||||
}
|
||||
|
||||
} // namespace blender::nodes
|
||||
|
|
|
@ -30,7 +30,7 @@ namespace blender::nodes {
|
|||
static void cmp_node_setalpha_declare(NodeDeclarationBuilder &b)
|
||||
{
|
||||
b.add_input<decl::Color>("Image").default_value({1.0f, 1.0f, 1.0f, 1.0f});
|
||||
b.add_input<decl::Float>("Alpha").default_value(1.0f).min(0.0f).max(1.0f);
|
||||
b.add_input<decl::Float>("Alpha").default_value(1.0f).min(0.0f).max(1.0f);
|
||||
b.add_output<decl::Color>("Image");
|
||||
}
|
||||
|
||||
|
|
|
@ -32,8 +32,7 @@ static void geo_node_curve_to_mesh_declare(NodeDeclarationBuilder &b)
|
|||
b.add_output<decl::Geometry>("Mesh");
|
||||
}
|
||||
|
||||
static void geometry_set_curve_to_mesh(GeometrySet &geometry_set,
|
||||
const GeometrySet &profile_set)
|
||||
static void geometry_set_curve_to_mesh(GeometrySet &geometry_set, const GeometrySet &profile_set)
|
||||
{
|
||||
const CurveEval *profile_curve = profile_set.get_curve_for_read();
|
||||
|
||||
|
|
Loading…
Reference in New Issue