Fem: Remove highlighted nodes if ccx finish without error - fixes #14855 (#17203)

This commit is contained in:
marioalexis84
2024-10-14 10:50:46 -03:00
committed by GitHub
parent 292b4c22ad
commit 35013a0afd

View File

@@ -599,6 +599,10 @@ class FemToolsCcx(QtCore.QRunnable, QtCore.QObject):
self.has_nonpositive_jacobians()
FreeCAD.Console.PrintMessage("\n--------end problems---------\n")
else:
# remove highlighted nodes, if any
if FreeCAD.GuiUp:
self.mesh.ViewObject.HighlightedNodes = []
FreeCAD.Console.PrintMessage("CalculiX finished without error.\n")
return ret_code