Fix various typos
Missed by the codespell CI not being functional for a period of time.
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -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()) {
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user