FEM: gmsh tools, get rid of useless unv related warning

This commit is contained in:
Bernd Hahnebach
2020-02-13 13:11:01 +01:00
parent 162617d54c
commit 8ecbf811b0
2 changed files with 16 additions and 2 deletions

View File

@@ -403,10 +403,12 @@ class _TaskPanelFemMeshGmsh:
.format(sys.exc_info()[0])
)
if error:
FreeCAD.Console.PrintMessage("Gmsh had warnings ...\n")
FreeCAD.Console.PrintMessage("{}\n".format(error))
self.console_log("Gmsh had warnings ...")
self.console_log(error, "#FF0000")
else:
FreeCAD.Console.PrintMessage("Clean run of Gmsh\n")
self.console_log("Clean run of Gmsh")
self.console_log("Gmsh done!")
self.form.l_time.setText("Time: {0:4.1f}: ".format(time.time() - self.Start))