FEM: gmsh mesh obj vp, fix regression indroduced with 536135ec

This commit is contained in:
Bernd Hahnebach
2020-03-06 18:13:12 +01:00
parent 71b54b7e46
commit d0d8cf06d3

View File

@@ -346,7 +346,7 @@ class _TaskPanel:
def run_gmsh(self):
QApplication.setOverrideCursor(Qt.WaitCursor)
part = self.obj.Part
part = self.mesh_obj.Part
if self.mesh_obj.MeshRegionList:
# other part obj might not have a Proxy, thus an exception would be raised
if part.Shape.ShapeType == "Compound" and hasattr(part, "Proxy"):
@@ -376,7 +376,7 @@ class _TaskPanel:
self.console_log("We are going to start ...")
self.get_active_analysis()
from femmesh import gmshtools
gmsh_mesh = gmshtools.GmshTools(self.obj, self.analysis)
gmsh_mesh = gmshtools.GmshTools(self.mesh_obj, self.analysis)
self.console_log("Start Gmsh ...")
error = ""
try: