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:
@@ -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++;
|
||||
|
||||
Reference in New Issue
Block a user