mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 05:14:40 +01:00
OP-4218 - fix variable
This commit is contained in:
parent
4214aa1403
commit
b3e9d6a6b6
1 changed files with 2 additions and 1 deletions
|
|
@ -147,13 +147,14 @@ class CollectPublishedFiles(pyblish.api.ContextPlugin):
|
|||
instances.append(instance)
|
||||
self.log.info("instance.data:: {}".format(instance.data))
|
||||
|
||||
if not self.sync_version:
|
||||
if not self.sync_next_version:
|
||||
return
|
||||
|
||||
# overwrite specific version with same version for all
|
||||
max_next_version = max(next_versions)
|
||||
for inst in instances:
|
||||
inst.data["version"] = max_next_version
|
||||
self.log.debug("overwritten version:: {}".format(max_next_version))
|
||||
|
||||
def _get_subset_name(self, family, subset_template, task_name, variant):
|
||||
fill_pairs = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue