Skip to content

Commit

Permalink
fix msvc compiler warnings
Browse files Browse the repository at this point in the history
fix typo
  • Loading branch information
wwmayer committed Sep 27, 2016
1 parent 81a6d4f commit 958686d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/Mod/Fem/FemConstraintSelfWeight.py
Expand Up @@ -31,7 +31,7 @@


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:
Expand Down
6 changes: 3 additions & 3 deletions src/Mod/Fem/Gui/ViewProviderFemConstraintTransform.cpp
Expand Up @@ -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();

Expand Down

0 comments on commit 958686d

Please sign in to comment.