Fix various typos and whitespace
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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();
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user