Fix various typos throughout the codebase (#13029)

* Fix various typos throughout the codebase

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
luzpaz
2024-03-18 17:54:30 -04:00
committed by GitHub
parent f94c2051c0
commit 5839134e95
17 changed files with 24 additions and 22 deletions

View File

@@ -1190,7 +1190,7 @@ std::vector<App::DocumentObject*> AssemblyObject::getDownstreamParts(App::Docume
}
AssemblyObject::setJointActivated(joint, state);
/*if (limit > 1000) { // Inifinite loop protection
/*if (limit > 1000) { // Infinite loop protection
return {};
}
limit++;
@@ -1243,7 +1243,7 @@ std::vector<App::DocumentObject*> AssemblyObject::getDownstreamParts(App::Docume
std::vector<App::DocumentObject*> AssemblyObject::getUpstreamParts(App::DocumentObject* part,
int limit)
{
if (limit > 1000) { // Inifinite loop protection
if (limit > 1000) { // Infinite loop protection
return {};
}
limit++;