FEM: Handle python vtk user installs that conflict with FreeCAD VTK
This commit is contained in:
@@ -80,6 +80,10 @@ class FemWorkbench(Workbench):
|
||||
False if FemGui.__name__ else True
|
||||
False if femcommands.commands.__name__ else True
|
||||
|
||||
# check vtk version to potentially find missmatchs
|
||||
from femguiutils.vtk_module_handling import vtk_module_handling
|
||||
vtk_module_handling()
|
||||
|
||||
def GetClassName(self):
|
||||
# see https://forum.freecad.org/viewtopic.php?f=10&t=43300
|
||||
return "FemGui::Workbench"
|
||||
|
||||
Reference in New Issue
Block a user