removed 'reset_project_data_cache' used in traypublisher

This commit is contained in:
Jakub Trllo 2022-10-07 18:42:26 +02:00
parent 56cea034ab
commit d71f201f65
2 changed files with 3 additions and 7 deletions

View file

@ -1213,10 +1213,6 @@ class AbstractPublisherController(object):
pass
@abstractmethod
def reset_project_data_cache(self):
pass
@abstractmethod
def set_comment(self, comment):
"""Set comment on pyblish context.
@ -1905,9 +1901,6 @@ class PublisherController(AbstractPublisherController):
self._publish_next_process()
def reset_project_data_cache(self):
self._asset_docs_cache.reset()
def collect_families_from_instances(instances, only_active=False):
"""Collect all families for passed publish instances.

View file

@ -30,6 +30,9 @@ class TrayPublisherController(QtPublisherController):
def host(self):
return self._host
def reset_project_data_cache(self):
self._asset_docs_cache.reset()
class TrayPublisherRegistry(JSONSettingRegistry):
"""Class handling OpenPype general settings registry.