FEM: prevent python added properties to be removed
This commit is contained in:
committed by
Yorik van Havre
parent
d1946bfebe
commit
abd5d4daef
@@ -62,4 +62,5 @@ class _PropHelper:
|
||||
|
||||
def add_to_object(self, obj):
|
||||
obj.addProperty(**self.info)
|
||||
obj.setPropertyStatus(self.name, "LockDynamic")
|
||||
setattr(obj, self.name, self.value)
|
||||
|
||||
Reference in New Issue
Block a user