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 6c78531ab6
commit 4dbd2c36da

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):