Fix various typos

Missed by the codespell CI not being functional for a period of time.
This commit is contained in:
Luz Paz
2025-05-12 12:29:44 -04:00
committed by Chris Hennes
parent 1a27e92bb0
commit ee4fa234c9
15 changed files with 24 additions and 24 deletions

View File

@@ -350,7 +350,7 @@ private:
throw Py::Exception();
}
// if non is returned the VTK object was created by annother VTK library, and the
// if none is returned the VTK object was created by another VTK library, and the
// python api used to create it cannot be used with FreeCAD
vtkObjectBase* obj = vtkPythonUtil::GetPointerFromObject(pcObj, "vtkObject");
if (!obj) {

View File

@@ -88,7 +88,7 @@ FemPostFilter::FilterPipeline& FemPostFilter::getFilterPipeline(std::string name
void FemPostFilter::setActiveFilterPipeline(std::string name)
{
if (m_pipelines.count(name) == 0) {
throw Base::ValueError("Not a filter pipline name");
throw Base::ValueError("Not a filter pipeline name");
}
if (m_activePipeline != name && isValid()) {

View File

@@ -380,7 +380,7 @@ class CommandManager:
# like add_obj_on_gui_selobj_noset_edit but the selection is kept
# and the selobj is expanded in the tree to see the added obj
# check if we should use python fitler
# check if we should use python filter
if vtk_compatibility_abort(True):
return

View File

@@ -108,7 +108,7 @@ def _find_compatible_module():
# use a single folder as path and try to load vtk
sys.path = [folder]
if vtk_module_compatible():
# we do still unload, to let the user descide if he wants to use it
# we do still unload, to let the user decide if they want to use it
_unload_vtk_modules()
sys.path = path
return folder