From 11b8f91c5d09f5b1ea3e12e3a09b11a39c426c0e Mon Sep 17 00:00:00 2001 From: "luz.paz" Date: Sat, 27 Jan 2018 11:44:43 -0500 Subject: [PATCH] Misc. typos --- src/App/Application.cpp | 2 +- src/Base/Rotation.cpp | 2 +- src/Gui/CommandStructure.cpp | 2 +- src/Mod/Cam/App/cutting_tools.cpp | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/App/Application.cpp b/src/App/Application.cpp index b752532325..1493716a94 100644 --- a/src/App/Application.cpp +++ b/src/App/Application.cpp @@ -1417,7 +1417,7 @@ void Application::initConfig(int argc, char ** argv) // init python mConfig["PythonSearchPath"] = Interpreter().init(argc,argv); - // Parse the options which have impact to the init process + // Parse the options that have impact on the init process ParseOptions(argc,argv); // Init console =========================================================== diff --git a/src/Base/Rotation.cpp b/src/Base/Rotation.cpp index cb64d809b8..d1ebc6b9f5 100644 --- a/src/Base/Rotation.cpp +++ b/src/Base/Rotation.cpp @@ -261,7 +261,7 @@ void Rotation::setValue(const Vector3d & rotateFrom, const Vector3d & rotateTo) Vector3d u(rotateFrom); u.Normalize(); Vector3d v(rotateTo); v.Normalize(); - // The vector from x to is the roatation axis because it's the normal of the plane defined by (0,u,v) + // The vector from x to is the rotation axis because it's the normal of the plane defined by (0,u,v) const double dot = u * v; Vector3d w = u % v; const double wlen = w.Length(); diff --git a/src/Gui/CommandStructure.cpp b/src/Gui/CommandStructure.cpp index a28d4b052a..119ef89f9d 100644 --- a/src/Gui/CommandStructure.cpp +++ b/src/Gui/CommandStructure.cpp @@ -66,7 +66,7 @@ void StdCmdPart::activated(int iMsg) std::string PartName; PartName = getUniqueObjectName("Part"); doCommand(Doc,"App.activeDocument().Tip = App.activeDocument().addObject('App::Part','%s')",PartName.c_str()); - // TODO We really must to set label ourselfs? (2015-08-17, Fat-Zer) + // TODO We really must set label ourselves? (2015-08-17, Fat-Zer) doCommand(Doc,"App.activeDocument().%s.Label = '%s'", PartName.c_str(), QObject::tr(PartName.c_str()).toUtf8().data()); doCommand(Gui::Command::Gui, "Gui.activeView().setActiveObject('%s', App.activeDocument().%s)", diff --git a/src/Mod/Cam/App/cutting_tools.cpp b/src/Mod/Cam/App/cutting_tools.cpp index fb42e3afca..1aae9fa25a 100644 --- a/src/Mod/Cam/App/cutting_tools.cpp +++ b/src/Mod/Cam/App/cutting_tools.cpp @@ -1853,7 +1853,7 @@ Base::BoundBox3f cutting_tools::getWireBBox(TopoDS_Wire aWire) TopoDS_Shape cutting_tools::getProperCut(TopoDS_Shape& aShape) { - //A cutting Shape is coming as aShape + //A cutting Shape is aShape //check direction to decide which Topology to hold and which to delete if (m_direction)//From top to bottom {