♻️ remove restriction for "Shot" folder type

This commit is contained in:
Ondrej Samohel 2023-10-13 15:54:12 +02:00
parent 6382867174
commit 5914f2e23c
No known key found for this signature in database
GPG key ID: 02376E18990A97C6

View file

@ -194,7 +194,7 @@ class CreateMultishotLayout(plugin.MayaCreator):
parent_id = current_folder["id"]
# get all child folders of the current one
child_folders = get_folders(
return get_folders(
project_name=self.project_name,
parent_ids=[parent_id],
fields=[
@ -203,7 +203,6 @@ class CreateMultishotLayout(plugin.MayaCreator):
"name", "label", "path", "folderType", "id"
]
)
return [f for f in child_folders if f["folderType"] == "Shot"]
# blast this creator if Ayon server is not enabled