Merge pull request #6159 from ynput/bugfix/extract_oiio_transcode

ExtractOIIOTranscode: Missing product_names to subsets conversion.
This commit is contained in:
Jakub Trllo 2024-01-25 18:18:43 +01:00 committed by GitHub
commit ec492036c7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1236,6 +1236,8 @@ def _convert_global_project_settings(ayon_settings, output, default_settings):
for profile in extract_oiio_transcode_profiles:
new_outputs = {}
name_counter = {}
if "product_names" in profile:
profile["subsets"] = profile.pop("product_names")
for profile_output in profile["outputs"]:
if "name" in profile_output:
name = profile_output.pop("name")