Cleanup: remove empty statements

This commit is contained in:
Philipp Oeser
2024-02-02 11:57:51 +01:00
parent fa5f1b3a9c
commit 79a7bdf33e
4 changed files with 1 additions and 4 deletions

View File

@@ -587,7 +587,6 @@ bool CustomDataAttributeProvider::try_delete(void *owner, const AttributeIDRef &
return false;
}
const int element_num = custom_data_access_.get_element_num(owner);
;
for (const int i : IndexRange(custom_data->totlayer)) {
const CustomDataLayer &layer = custom_data->layers[i];
if (this->type_is_supported((eCustomDataType)layer.type) &&

View File

@@ -357,7 +357,6 @@ float2 node_from_view(const bNode &node, const float2 &co)
{
const float2 node_location = co / UI_SCALE_FAC;
return bke::nodeFromView(&node, node_location);
;
}
static bool is_node_panels_supported(const bNode &node)

View File

@@ -570,7 +570,6 @@ void USDMaterialReader::set_principled_node_inputs(bNode *principled,
}
if (pxr::UsdShadeInput metallic_input = usd_shader.GetInput(usdtokens::metallic)) {
;
set_node_input(metallic_input, principled, "Metallic", ntree, column, &context, false);
}

View File

@@ -172,7 +172,7 @@ static void node_geo_exec(GeoNodeExecParams params)
/* Use the output of the UV sampling to interpolate the mesh attribute. */
GField field = params.extract_input<GField>("Value");
;
auto sample_op = FieldOperation::Create(
std::make_shared<bke::mesh_surface_sample::BaryWeightSampleFn>(std::move(geometry),
std::move(field)),