FEM: mesh netgen command, fix meshing while task panel is opened

This commit is contained in:
Bernd Hahnebach
2018-05-28 12:21:51 +02:00
parent fbf96728b8
commit 6476cf4c6b

View File

@@ -524,7 +524,7 @@ class _CommandFemMeshNetgenFromShape(CommandManager):
FreeCADGui.doCommand("FemGui.getActiveAnalysis().addObject(FreeCAD.ActiveDocument.ActiveObject)")
FreeCADGui.doCommand("FreeCADGui.ActiveDocument.setEdit(FreeCAD.ActiveDocument.ActiveObject.Name)")
FreeCADGui.Selection.clearSelection()
FreeCAD.ActiveDocument.recompute()
# a recompute immediately starts meshing when task panel is opened, this is not intended
class _CommandFemMeshPrintInfo(CommandManager):