We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 14eec9a + 61e40cf commit bf7b938Copy full SHA for bf7b938
ayon_api/entity_hub.py
@@ -825,6 +825,8 @@ def delete_entity(self, entity):
825
parent = self._entities_by_id.get(parent_id)
826
if parent is not None:
827
parent.remove_child(entity.id)
828
+ else:
829
+ self.unset_entity_parent(entity.id, parent_id)
830
831
def reset_immutable_for_hierarchy_cache(
832
self, entity_id: Optional[str], bottom_to_top: Optional[bool] = True
0 commit comments