FEM: do not use the red error print if it is not a error

This commit is contained in:
Bernd Hahnebach
2021-08-06 07:29:02 +02:00
parent 64f4984a22
commit 6a0eea21aa

View File

@@ -2225,7 +2225,7 @@ def get_femmesh_eletype(
if not femmesh:
FreeCAD.Console.PrintError("Error: No femmesh.\n")
if not femelement_table:
FreeCAD.Console.PrintError("The femelement_table need to be calculated.\n")
FreeCAD.Console.PrintWarning("The femelement_table need to be calculated.\n")
femelement_table = get_femelement_table(femmesh)
# in some cases lowest key in femelement_table is not [1]
for elem in sorted(femelement_table):