All: Reformat according to new standard

This commit is contained in:
pre-commit-ci[bot]
2025-11-11 13:49:01 +01:00
committed by Kacper Donat
parent eafd18dac0
commit 25c3ba7338
2390 changed files with 154630 additions and 115818 deletions

View File

@@ -50,9 +50,11 @@ void FemPostFunctionProvider::unsetupObject()
}
}
void FemPostFunctionProvider::handleChangedPropertyName(Base::XMLReader& reader,
const char* typeName,
const char* propName)
void FemPostFunctionProvider::handleChangedPropertyName(
Base::XMLReader& reader,
const char* typeName,
const char* propName
)
{
if (strcmp(propName, "Functions") == 0
&& Base::Type::fromName(typeName) == App::PropertyLinkList::getClassTypeId()) {
@@ -104,12 +106,14 @@ void FemPostBoxFunction::onChanged(const Property* prop)
float l = Length.getValue();
float w = Width.getValue();
float h = Height.getValue();
m_box->SetBounds(vec[0] - l / 2,
vec[0] + l / 2,
vec[1] - w / 2,
vec[1] + w / 2,
vec[2] - h / 2,
vec[2] + h / 2);
m_box->SetBounds(
vec[0] - l / 2,
vec[0] + l / 2,
vec[1] - w / 2,
vec[1] + w / 2,
vec[2] - h / 2,
vec[2] + h / 2
);
}
Fem::FemPostFunction::onChanged(prop);