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

@@ -86,9 +86,9 @@ void ViewProviderFemConstraintBearing::updateData(const App::Property* prop)
SbRotation rot(SbVec3f(0, -1, 0), dir);
GuiTools::createPlacement(pShapeSep, b, rot);
pShapeSep->addChild(GuiTools::createFixed(radius / 2,
radius / 2 * 1.5,
pcConstraint->AxialFree.getValue()));
pShapeSep->addChild(
GuiTools::createFixed(radius / 2, radius / 2 * 1.5, pcConstraint->AxialFree.getValue())
);
}
else if (prop == &pcConstraint->AxialFree) {
if (pShapeSep->getNumChildren() > 0) {
@@ -104,11 +104,13 @@ void ViewProviderFemConstraintBearing::updateData(const App::Property* prop)
GuiTools::updatePlacement(pShapeSep, 0, b, rot);
const SoSeparator* sep = static_cast<SoSeparator*>(pShapeSep->getChild(2));
GuiTools::updateFixed(sep,
0,
radius / 2,
radius / 2 * 1.5,
pcConstraint->AxialFree.getValue());
GuiTools::updateFixed(
sep,
0,
radius / 2,
radius / 2 * 1.5,
pcConstraint->AxialFree.getValue()
);
}
}