mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
Merge pull request #274 from pypeclub/feature/stop_in_middle_of_instance
feature/stop in middle of instance loop
This commit is contained in:
commit
e75167445f
1 changed files with 5 additions and 0 deletions
|
|
@ -302,6 +302,11 @@ class Controller(QtCore.QObject):
|
|||
"%s was inactive, skipping.." % instance
|
||||
)
|
||||
continue
|
||||
# Stop if was stopped
|
||||
if self.stopped:
|
||||
self.stopped = False
|
||||
yield IterationBreak("Stopped")
|
||||
|
||||
yield (plugin, instance)
|
||||
else:
|
||||
families = util.collect_families_from_instances(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue