[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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user