Make source code comments use gender neutral pronouns
The changes also include some grammatical fixes as well.
This commit is contained in:
@@ -1183,8 +1183,8 @@ void prepareProfileBased(PartDesign::Body *pcActiveBody, Gui::Command* cmd, cons
|
||||
// a Part container and if not an error was raised and the function aborted.
|
||||
// First of all, for the user this wasn't obvious because the error message
|
||||
// was quite confusing (and thus the user may have done the wrong thing since
|
||||
// he may have assumed the that the sketch was meant) and second there is no need
|
||||
// that the body must be inside a Part container.
|
||||
// they may have assumed the that the sketch was meant) and
|
||||
// Second, there is no need that the body must be inside a Part container.
|
||||
// For more details see: https://forum.freecadweb.org/viewtopic.php?f=19&t=32164
|
||||
// The function has been modified not to expect the body to be in the Part
|
||||
// and it now directly invokes the 'makeCopy' dialog.
|
||||
|
||||
@@ -941,7 +941,7 @@ void CmdPartDesignMoveFeatureInTree::activated(int iMsg)
|
||||
}
|
||||
|
||||
// If the selected objects have been moved after the current tip then ask the
|
||||
// user if he wants the last object to be the new tip.
|
||||
// user if they want the last object to be the new tip.
|
||||
// Only do this for features that can hold a tip (not for e.g. datums)
|
||||
if ( lastObject && body->Tip.getValue() == target
|
||||
&& lastObject->isDerivedFrom(PartDesign::Feature::getClassTypeId()) ) {
|
||||
|
||||
@@ -436,7 +436,7 @@ void TaskHelixParameters::onAxisChanged(int num)
|
||||
}
|
||||
propReferenceAxis->Paste(lnk);
|
||||
|
||||
// in case user is in selection mode, but changed his mind before selecting anything.
|
||||
// in case user is in selection mode, but changed their mind before selecting anything.
|
||||
exitSelectionMode();
|
||||
}
|
||||
|
||||
|
||||
@@ -398,7 +398,7 @@ void TaskBoxPrimitives::onCylinderRadiusChanged(double v) {
|
||||
void TaskBoxPrimitives::onCylinderXSkewChanged(double v) {
|
||||
PartDesign::Cylinder* cyl = static_cast<PartDesign::Cylinder*>(vp->getObject());
|
||||
// we must assure that if the user incremented from e.g. 85 degree with the
|
||||
// spin buttons he does not end at 90.0 but 89.9999 which is shown rounded to 90 degree
|
||||
// spin buttons, they do not end at 90.0 but at 89.9999 which is shown rounded to 90 degree
|
||||
if ((v < 90.0) && (v > -90.0)) {
|
||||
cyl->FirstAngle.setValue(v);
|
||||
}
|
||||
@@ -415,7 +415,7 @@ void TaskBoxPrimitives::onCylinderXSkewChanged(double v) {
|
||||
void TaskBoxPrimitives::onCylinderYSkewChanged(double v) {
|
||||
PartDesign::Cylinder* cyl = static_cast<PartDesign::Cylinder*>(vp->getObject());
|
||||
// we must assure that if the user incremented from e.g. 85 degree with the
|
||||
// spin buttons he does not end at 90.0 but 89.9999 which is shown rounded to 90 degree
|
||||
// spin buttons, they do not end at 90.0 but at 89.9999 which is shown rounded to 90 degree
|
||||
if ((v < 90.0) && (v > -90.0)) {
|
||||
cyl->SecondAngle.setValue(v);
|
||||
}
|
||||
@@ -572,7 +572,7 @@ void TaskBoxPrimitives::onPrismHeightChanged(double v) {
|
||||
void TaskBoxPrimitives::onPrismXSkewChanged(double v) {
|
||||
PartDesign::Prism* sph = static_cast<PartDesign::Prism*>(vp->getObject());
|
||||
// we must assure that if the user incremented from e.g. 85 degree with the
|
||||
// spin buttons he does not end at 90.0 but 89.9999 which is shown rounded to 90 degree
|
||||
// spin buttons, they do not end at 90.0 but at 89.9999 which is shown rounded to 90 degree
|
||||
if ((v < 90.0) && (v > -90.0)) {
|
||||
sph->FirstAngle.setValue(v);
|
||||
}
|
||||
@@ -589,7 +589,7 @@ void TaskBoxPrimitives::onPrismXSkewChanged(double v) {
|
||||
void TaskBoxPrimitives::onPrismYSkewChanged(double v) {
|
||||
PartDesign::Prism* sph = static_cast<PartDesign::Prism*>(vp->getObject());
|
||||
// we must assure that if the user incremented from e.g. 85 degree with the
|
||||
// spin buttons he does not end at 90.0 but 89.9999 which is shown rounded to 90 degree
|
||||
// spin buttons, they do not end at 90.0 but at 89.9999 which is shown rounded to 90 degree
|
||||
if ((v < 90.0) && (v > -90.0)) {
|
||||
sph->SecondAngle.setValue(v);
|
||||
}
|
||||
|
||||
@@ -91,8 +91,8 @@ TaskShapeBinder::TaskShapeBinder(ViewProviderShapeBinder *view, bool /*newObj*/,
|
||||
for (auto sub : subs)
|
||||
ui->listWidgetReferences->addItem(QString::fromStdString(sub));
|
||||
|
||||
//make sure th euser sees al important things: the base feature to select edges and the
|
||||
//spine/auxiliary spine he already selected
|
||||
//make sure the user sees all important things: the base feature to select edges and the
|
||||
//spine/auxiliary spine they already selected
|
||||
if(obj) {
|
||||
auto* svp = doc->getViewProvider(obj);
|
||||
if(svp) {
|
||||
@@ -148,8 +148,8 @@ TaskShapeBinder::~TaskShapeBinder()
|
||||
PartDesign::Pipe* pipe = static_cast<PartDesign::Pipe*>(vp->getObject());
|
||||
Gui::Document* doc = Gui::Application::Instance->activeDocument();
|
||||
|
||||
//make sure th euser sees al important things: the base feature to select edges and the
|
||||
//spine/auxiliary spine he already selected
|
||||
//make sure the user sees all important things: the base feature to select edges and the
|
||||
//spine/auxiliary spine they already selected
|
||||
if(pipe->BaseFeature.getValue())
|
||||
doc->getViewProvider(pipe->BaseFeature.getValue())->hide();
|
||||
if(pipe->Spine.getValue()) {
|
||||
|
||||
Reference in New Issue
Block a user