FEM: remove the not needed GuiUp check on GUI files

This commit is contained in:
Bernd Hahnebach
2016-11-25 22:59:03 +01:00
parent c817c3334e
commit 10431331f6
14 changed files with 17 additions and 33 deletions

View File

@@ -49,5 +49,4 @@ class _CommandShellThickness(FemCommands):
FreeCADGui.doCommand("FemGui.getActiveAnalysis().Member = FemGui.getActiveAnalysis().Member + [FemShellThickness.makeFemShellThickness()]")
if FreeCAD.GuiUp:
FreeCADGui.addCommand('Fem_ShellThickness', _CommandShellThickness())
FreeCADGui.addCommand('Fem_ShellThickness', _CommandShellThickness())