mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-02 00:44:52 +01:00
implemented reset_callbacks method
This commit is contained in:
parent
baf706627a
commit
f70b19305c
1 changed files with 6 additions and 0 deletions
|
|
@ -678,3 +678,9 @@ class DictConditionalEntity(ItemEntity):
|
|||
|
||||
self._ignore_child_changes = False
|
||||
|
||||
def reset_callbacks(self):
|
||||
"""Reset registered callbacks on entity and children."""
|
||||
super(DictConditionalEntity, self).reset_callbacks()
|
||||
for children in self.children.values():
|
||||
for child_entity in children:
|
||||
child_entity.reset_callbacks()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue