[FEM] BodyHeat constraint: hide unused property

- the constraint does not take a references and when trying to set one as user because one thinks this empty property must be set, one gets a recompute error
This commit is contained in:
Uwe
2022-07-27 02:55:29 +02:00
parent 1cc410cb1e
commit 9c7af25d26

View File

@@ -40,6 +40,8 @@ class ConstraintBodyHeatSource(base_fempythonobject.BaseFemPythonObject):
def __init__(self, obj):
super(ConstraintBodyHeatSource, self).__init__(obj)
self.add_properties(obj)
# the constraint does not take any references, thus hide this property
obj.setEditorMode("References", 2)
def onDocumentRestored(self, obj):
self.add_properties(obj)