From bb9d49dd18bef46177dde388d6a367248442b08d Mon Sep 17 00:00:00 2001 From: "luz.paz" Date: Mon, 5 Mar 2018 09:25:42 -0500 Subject: [PATCH] Weekly misc. typo fixes --- src/App/DocumentObserver.h | 2 +- src/App/Property.cpp | 2 +- src/Mod/Draft/importSVG.py | 2 +- src/Mod/Mesh/App/Core/Trim.cpp | 2 +- src/Mod/Mesh/Gui/ViewProviderTransformDemolding.cpp | 2 +- src/Mod/Raytracing/App/PovTools.cpp | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/App/DocumentObserver.h b/src/App/DocumentObserver.h index af987018d5..de5e37828c 100644 --- a/src/App/DocumentObserver.h +++ b/src/App/DocumentObserver.h @@ -166,7 +166,7 @@ private: }; /** - * The DocumentObjectObserver class checks for a list of ojects + * The DocumentObjectObserver class checks for a list of objects * which of them get removed. * * @author Werner Mayer diff --git a/src/App/Property.cpp b/src/App/Property.cpp index 2738527a9c..73e0c0a107 100644 --- a/src/App/Property.cpp +++ b/src/App/Property.cpp @@ -47,7 +47,7 @@ TYPESYSTEM_SOURCE_ABSTRACT(App::Property , Base::Persistence); //************************************************************************** // Construction/Destruction -// here the implemataion! description should take place in the header file! +// Here is the implementation! Description should take place in the header file! Property::Property() :father(0) { diff --git a/src/Mod/Draft/importSVG.py b/src/Mod/Draft/importSVG.py index dbe755c4e4..75a4724af9 100644 --- a/src/Mod/Draft/importSVG.py +++ b/src/Mod/Draft/importSVG.py @@ -1117,7 +1117,7 @@ class svgHandler(xml.sax.ContentHandler): cx = argsplit[1] cy = argsplit[2] m.move(Vector(cx,-cy,0)) - m.rotateZ(math.radians(-angle)) #mirroring one axis equals changing the direction of rotaion + m.rotateZ(math.radians(-angle)) #mirroring one axis equals changing the direction of rotation if len(argsplit) >= 3: m.move(Vector(-cx,cy,0)) elif transformation == 'skewX': diff --git a/src/Mod/Mesh/App/Core/Trim.cpp b/src/Mod/Mesh/App/Core/Trim.cpp index b07ad82d1c..b4f00b73ce 100644 --- a/src/Mod/Mesh/App/Core/Trim.cpp +++ b/src/Mod/Mesh/App/Core/Trim.cpp @@ -240,7 +240,7 @@ bool MeshTrimming::GetIntersectionPointsOfPolygonAndFacet(unsigned long ulIndex, float fP3P4 = (float)(P4-P3).Length(); float fSP3 = (float)(P3-S).Length(); float fSP4 = (float)(P4-S).Length(); - // compute propotion of length + // compute proportion of length float l = fSP1 / fP1P2; float m = fSP2 / fP1P2; diff --git a/src/Mod/Mesh/Gui/ViewProviderTransformDemolding.cpp b/src/Mod/Mesh/Gui/ViewProviderTransformDemolding.cpp index 35f4da1c33..92b186706e 100644 --- a/src/Mod/Mesh/Gui/ViewProviderTransformDemolding.cpp +++ b/src/Mod/Mesh/Gui/ViewProviderTransformDemolding.cpp @@ -201,7 +201,7 @@ void ViewProviderMeshTransformDemolding::valueChangedCallback(void) rot, // rotation from the dragger SbVec3f(1,1,1), // no scaling SbRotation() , // no scaling oriantation - SbVec3f(center.x,center.y,center.z)); // center of rotaion + SbVec3f(center.x,center.y,center.z)); // center of rotation pcTransformDrag->setMatrix( temp ); } diff --git a/src/Mod/Raytracing/App/PovTools.cpp b/src/Mod/Raytracing/App/PovTools.cpp index 0ddc26706c..43fca88edb 100644 --- a/src/Mod/Raytracing/App/PovTools.cpp +++ b/src/Mod/Raytracing/App/PovTools.cpp @@ -369,7 +369,7 @@ void PovTools::transferToArray(const TopoDS_Face& aFace,gp_Vec** vertices,gp_Vec //BRepMesh_IncrementalMesh MESH(aFace,fDeflection); Handle(Poly_Triangulation) aPoly = BRep_Tool::Triangulation(aFace,aLoc); if (aPoly.IsNull()) { - Base::Console().Log("Empty face trianglutaion\n"); + Base::Console().Log("Empty face triangulation\n"); nbNodesInFace =0; nbTriInFace = 0; vertices = 0l;