Fix various typos and whitespace

This commit is contained in:
luzpaz
2023-03-10 12:35:18 +00:00
committed by Uwe
parent 31fa8187d5
commit 01e8bbc2bf
12 changed files with 19 additions and 19 deletions

View File

@@ -256,7 +256,7 @@ App::DocumentObject *Feature::getSubObject(const char *subname,
// supposed to be contained inside a body. It makes
// little sense to transform its sub-object. So if 'no
// transform' is requested, we need to actively apply
// an inverse trasnform.
// an inverse transform.
_mat = Placement.getValue().inverse().toMatrix();
if (pmat)
*pmat *= _mat;

View File

@@ -729,7 +729,7 @@ void prepareProfileBased(PartDesign::Body *pcActiveBody, Gui::Command* cmd, cons
// `ProfileBased::getProfileShape()` and other methods will return
// just the sub-shapes if they are set. So when whole sketches are
// desired, don not set sub-values.
// desired, don't set sub-values.
if (feature->isDerivedFrom(Part::Part2DObject::getClassTypeId()) &&
subName.compare(0, 6, "Vertex") != 0)
runProfileCmd();

View File

@@ -626,7 +626,7 @@ void TaskExtrudeParameters::setDirectionMode(int index)
extrude->UseCustomVector.setValue(false);
}
// if we dont use custom direction, only allow to show its direction
// if we don't use custom direction, only allow to show its direction
if (index != DirectionModes::Custom) {
ui->XDirectionEdit->setEnabled(false);
ui->YDirectionEdit->setEnabled(false);