fix msvc compiler warnings
fix typo
This commit is contained in:
parent
81a6d4f4cc
commit
958686d7b9
|
@ -31,7 +31,7 @@ import _FemConstraintSelfWeight
|
|||
|
||||
|
||||
def makeFemConstraintSelfWeight(name="FemConstraintSelfWeight"):
|
||||
'''makeFemFemConstraintSelfWeight([name]): creates an self weight object to define a gravitiy load'''
|
||||
'''makeFemFemConstraintSelfWeight([name]): creates an self weight object to define a gravity load'''
|
||||
obj = FemGui.getActiveAnalysis().Document.addObject("Fem::FeaturePython", name)
|
||||
_FemConstraintSelfWeight._FemConstraintSelfWeight(obj)
|
||||
if FreeCAD.GuiUp:
|
||||
|
|
|
@ -224,9 +224,9 @@ void ViewProviderFemConstraintTransform::updateData(const App::Property* prop)
|
|||
SbVec3f diry(y_axis_x, y_axis_y ,y_axis_z);
|
||||
SbRotation roty(SbVec3f(0, 1, 0), diry);
|
||||
|
||||
base = base + dirz * scaledlengthA *0.75;
|
||||
basex = basex + dirx * scaledlengthA*0.65;
|
||||
basey = basey + diry * scaledlengthA*0.65;
|
||||
base = base + dirz * scaledlengthA * 0.75f;
|
||||
basex = basex + dirx * scaledlengthA * 0.65f;
|
||||
basey = basey + diry * scaledlengthA * 0.65f;
|
||||
|
||||
SoSeparator* sep = new SoSeparator();
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user