All: Reformat according to new standard
This commit is contained in:
committed by
Kacper Donat
parent
eafd18dac0
commit
25c3ba7338
@@ -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()
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user