Merge pull request #9856 from luzpaz/pre-release-typos

Fix various typos
This commit is contained in:
Yorik van Havre
2023-07-05 09:16:15 +02:00
committed by GitHub
7 changed files with 8 additions and 8 deletions

View File

@@ -156,7 +156,7 @@ int MappedName::findTagInElementName(long* tag, int* len, const char* postfix,
return -1;
if (_len && recursive && (tag || len)) {
// in case of recursive tag postfix (used by hierarchy element
// map), look for any embedded tag postifx
// map), look for any embedded tag postfix
int next = MappedName::fromRawData(*this, pos-_len, _len).rfind(POSTFIX_TAG);
if (next >= 0) {
next += pos - _len;

View File

@@ -1565,7 +1565,7 @@ bool SoFCSelectionRoot::doActionPrivate(Stack &stack, SoAction *action) {
touch();
}
// applied to a node means clear all visibility setting, so
// return true to propgate the action
// return true to propagate the action
return selAction->getType()==SoSelectionElementAction::Color ||
action->getWhatAppliedTo()==SoAction::NODE;

View File

@@ -613,7 +613,7 @@ App::DocumentObject* createObjectByType(const Base::Type type)
return newobj;
}
else {
return pcDoc->addObject(type.getName());// create in the acitive document
return pcDoc->addObject(type.getName());// create in the active document
}
}

View File

@@ -346,7 +346,7 @@ class CommandManager(object):
def add_obj_on_gui_expand_noset_edit(self, objtype):
# like add_obj_on_gui_noset_edit but the parent object
# is expanded in the tree to see the added obj
# the added obj is also selected to enable direct additons to it
# the added obj is also selected to enable direct additions to it
FreeCAD.ActiveDocument.openTransaction(
"Create Fem{}"
.format(objtype)

View File

@@ -142,7 +142,7 @@ class PartDesignGuiTestCases(unittest.TestCase):
cobj = CallableCheckWarning(self)
QtCore.QTimer.singleShot(500, cobj)
Gui.runCommand('PartDesign_MoveFeature')
#assert depenedencies of the Sketch
#assert dependencies of the Sketch
self.assertEqual(len(self.BodySource.Group), 3, "Source body feature count is wrong")
self.assertEqual(len(self.BodyTarget.Group), 0, "Target body feature count is wrong")
@@ -195,7 +195,7 @@ class PartDesignGuiTestCases(unittest.TestCase):
cobj = CallableComboBox(self)
QtCore.QTimer.singleShot(500, cobj)
Gui.runCommand('PartDesign_MoveFeature')
#assert depenedencies of the Sketch
#assert dependencies of the Sketch
self.Doc.recompute()
self.assertFalse(self.Sketch.Support[0][0] in self.BodySource.Origin.OriginFeatures)

View File

@@ -281,7 +281,7 @@ class ObjectPocket(PathPocketBase.ObjectPocket):
obj.AdaptivePocketFinish = False
obj.ProcessStockArea = False
# methods for eliminating air milling with some pockets: adpative start and finish
# methods for eliminating air milling with some pockets: adaptive start and finish
def calculateAdaptivePocket(self, obj, base, subObjTups):
"""calculateAdaptivePocket(obj, base, subObjTups)
Orient multiple faces around common facial center of mass.

View File

@@ -179,7 +179,7 @@ POSTAMBLE = POSTAMBLE_DEFAULT
# MODAL possible values:
# bool Repeat/suppress repeated command arguments.
# True commands are suppressed if the same as previous line.
# False commands are repeated ith the same as previout line.
# False commands are repeated if the same as previous line.
# set with --modal
MODAL = False