fix msvc compiler warnings

fix typo
This commit is contained in:
wmayer 2016-09-27 19:42:46 +02:00
parent 81a6d4f4cc
commit 958686d7b9
2 changed files with 4 additions and 4 deletions

View File

@ -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:

View File

@ -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();