Cleanup: clang-format

This commit is contained in:
Campbell Barton 2021-12-16 11:38:08 +11:00
parent 366ec5f0f8
commit 807efa8538
2 changed files with 3 additions and 10 deletions

View File

@ -322,15 +322,8 @@ class Sampler {
}
else if constexpr (Filter == IMB_FILTER_BILINEAR && std::is_same_v<StorageType, float>) {
if constexpr (std::is_same_v<UVWrapping, WrapRepeatUV>) {
BLI_bilinear_interpolation_wrap_fl(source->rect_float,
&r_sample[0],
source->x,
source->y,
NumChannels,
u,
v,
true,
true);
BLI_bilinear_interpolation_wrap_fl(
source->rect_float, &r_sample[0], source->x, source->y, NumChannels, u, v, true, true);
}
else {
BLI_bilinear_interpolation_fl(source->rect_float,

View File

@ -110,7 +110,7 @@ static void node_gather_link_searches(GatherLinkSearchOpParams &params)
return;
}
else if (params.node_tree().typeinfo->validate_link(
static_cast<eNodeSocketDatatype>(params.other_socket().type), SOCK_FLOAT)) {
static_cast<eNodeSocketDatatype>(params.other_socket().type), SOCK_FLOAT)) {
params.add_item(IFACE_("Count"), [](LinkSearchOpParams &params) {
bNode &node = params.add_node("GeometryNodeMeshLine");
node_storage(node).mode = GEO_NODE_MESH_LINE_MODE_OFFSET;