Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Commit

Permalink
Merge branch 'develop' into enhancement/OP-7592_expose_write_knobs
Browse files Browse the repository at this point in the history
  • Loading branch information
jakubjezek001 authored Jan 31, 2024
2 parents c5c4ef1 + 9a12910 commit 94dddd0
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ body:
label: Version
description: What version are you running? Look to OpenPype Tray
options:
- 3.18.6-nightly.2
- 3.18.6-nightly.1
- 3.18.5
- 3.18.5-nightly.3
Expand Down Expand Up @@ -134,7 +135,6 @@ body:
- 3.15.9-nightly.1
- 3.15.8
- 3.15.8-nightly.3
- 3.15.8-nightly.2
validations:
required: true
- type: dropdown
Expand Down
18 changes: 14 additions & 4 deletions openpype/hosts/traypublisher/api/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -221,17 +221,27 @@ def _fill_next_versions(self, instances_data):
):
filtered_instance_data.append(instance)

asset_names = {
instance["asset"]
for instance in filtered_instance_data}
if AYON_SERVER_ENABLED:
asset_names = {
instance["folderPath"]
for instance in filtered_instance_data
}
else:
asset_names = {
instance["asset"]
for instance in filtered_instance_data
}
subset_names = {
instance["subset"]
for instance in filtered_instance_data}
subset_docs_by_asset_id = self._prepare_next_versions(
asset_names, subset_names
)
for instance in filtered_instance_data:
asset_name = instance["asset"]
if AYON_SERVER_ENABLED:
asset_name = instance["folderPath"]
else:
asset_name = instance["asset"]
subset_name = instance["subset"]
version = subset_docs_by_asset_id[asset_name][subset_name]
instance["creator_attributes"]["version_to_use"] = version
Expand Down
2 changes: 1 addition & 1 deletion openpype/version.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# -*- coding: utf-8 -*-
"""Package declaring Pype version."""
__version__ = "3.18.6-nightly.1"
__version__ = "3.18.6-nightly.2"

0 comments on commit 94dddd0

Please sign in to comment.