mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 05:14:40 +01:00
fix wrong attribute name
This commit is contained in:
parent
b4d6fa3a3a
commit
3fd2a8826c
2 changed files with 8 additions and 8 deletions
|
|
@ -1289,7 +1289,7 @@ class BasePublisherController(AbstractPublisherController):
|
|||
self._publish_has_validation_errors = False
|
||||
self._publish_has_crashed = False
|
||||
# All publish plugins are processed
|
||||
self._publish_finished = False
|
||||
self._publish_has_finished = False
|
||||
self._publish_max_progress = 0
|
||||
self._publish_progress = 0
|
||||
|
||||
|
|
@ -1337,7 +1337,7 @@ class BasePublisherController(AbstractPublisherController):
|
|||
changed.
|
||||
"publish.progress.changed" - Attr 'publish_progress' changed.
|
||||
"publish.host_is_valid.changed" - Attr 'host_is_valid' changed.
|
||||
"publish.finished.changed" - Attr 'publish_finished' changed.
|
||||
"publish.finished.changed" - Attr 'publish_has_finished' changed.
|
||||
|
||||
Returns:
|
||||
EventSystem: Event system which can trigger callbacks for topics.
|
||||
|
|
@ -1361,11 +1361,11 @@ class BasePublisherController(AbstractPublisherController):
|
|||
self._emit_event("publish.host_is_valid.changed", {"value": value})
|
||||
|
||||
def _get_publish_has_finished(self):
|
||||
return self._publish_finished
|
||||
return self._publish_has_finished
|
||||
|
||||
def _set_publish_has_finished(self, value):
|
||||
if self._publish_finished != value:
|
||||
self._publish_finished = value
|
||||
if self._publish_has_finished != value:
|
||||
self._publish_has_finished = value
|
||||
self._emit_event("publish.finished.changed", {"value": value})
|
||||
|
||||
def _get_publish_is_running(self):
|
||||
|
|
@ -1465,7 +1465,7 @@ class BasePublisherController(AbstractPublisherController):
|
|||
self.publish_has_validated = False
|
||||
self.publish_has_crashed = False
|
||||
self.publish_has_validation_errors = False
|
||||
self.publish_finished = False
|
||||
self.publish_has_finished = False
|
||||
|
||||
self.publish_error_msg = None
|
||||
self.publish_progress = 0
|
||||
|
|
@ -2092,7 +2092,7 @@ class PublisherController(BasePublisherController):
|
|||
self._publish_report.set_plugin_skipped()
|
||||
|
||||
# Cleanup of publishing process
|
||||
self.publish_finished = True
|
||||
self.publish_has_finished = True
|
||||
self.publish_progress = self.publish_max_progress
|
||||
yield MainThreadItem(self.stop_publish)
|
||||
|
||||
|
|
|
|||
|
|
@ -173,7 +173,7 @@ class QtRemotePublishController(BasePublisherController):
|
|||
return
|
||||
|
||||
if event.topic == "publish.finished.changed":
|
||||
self.publish_finished = event["value"]
|
||||
self.publish_has_finished = event["value"]
|
||||
return
|
||||
|
||||
if event.topic == "publish.host_is_valid.changed":
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue