Refactor integrate_ftrack_instances.py to update asset names for multiple reviewable items

- Add a condition to also check if multiple_reviewable is True before updating the asset name.
This commit is contained in:
Jakub Jezek 2023-12-20 15:48:47 +01:00
parent 09a7ecdcc6
commit 19666f7df3
No known key found for this signature in database
GPG key ID: 730D7C02726179A7

View file

@ -354,6 +354,7 @@ class IntegrateFtrackInstance(pyblish.api.InstancePlugin):
if (
not self.keep_first_subset_name_for_review
and extended_asset_name
and multiple_reviewable
):
other_item["asset_data"]["name"] = extended_asset_name