Cleanup: remove empty statements
This commit is contained in:
@@ -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) &&
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
@@ -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)),
|
||||
|
||||
Reference in New Issue
Block a user