FEM: do not hide constraints for result view

This commit is contained in:
vginkeo 2016-02-29 07:48:10 +01:00 committed by wmayer
parent 187894d8b5
commit e47560003e

View File

@ -101,8 +101,8 @@ class FemCommands(object):
def hide_parts_constraints_show_meshes(self):
if FreeCAD.GuiUp:
for acnstrmesh in FreeCAD.activeDocument().Objects:
if "Constraint" in acnstrmesh.TypeId:
acnstrmesh.ViewObject.Visibility = False
#if "Constraint" in acnstrmesh.TypeId:
# acnstrmesh.ViewObject.Visibility = False
if "Mesh" in acnstrmesh.TypeId:
aparttoshow = acnstrmesh.Name.replace("_Mesh","")
for apart in FreeCAD.activeDocument().Objects: