Skip to content
Snippets Groups Projects
Commit 0293e5a0 authored by Boman Romain's avatar Boman Romain
Browse files

fix viewer

parent 97b06f41
No related branches found
No related tags found
1 merge request!3Update docker to latest (VTK9+OneAPI)
...@@ -297,7 +297,7 @@ class MeshViewer(QWidget, w.DisplayHook): ...@@ -297,7 +297,7 @@ class MeshViewer(QWidget, w.DisplayHook):
for i in range(self.msh.elems.size()): for i in range(self.msh.elems.size()):
e = self.msh.elems[i] e = self.msh.elems[i]
n = e.nodes n = e.nodes
if e.type() == tb.ELTYPE_HEX8: if e.type() == tb.ElType_HEX8:
hexa = vtk.vtkHexahedron() hexa = vtk.vtkHexahedron()
ids = hexa.GetPointIds() ids = hexa.GetPointIds()
for j in range(8): for j in range(8):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment