mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
🐛 convert generator to list
This commit is contained in:
parent
8f5a5341e0
commit
94032f0522
1 changed files with 2 additions and 2 deletions
|
|
@ -105,8 +105,8 @@ class CreateMultishotLayout(plugin.MayaCreator):
|
|||
]
|
||||
|
||||
def create(self, subset_name, instance_data, pre_create_data):
|
||||
shots = self.get_related_shots(
|
||||
folder_path=pre_create_data["shotParent"]
|
||||
shots = list(
|
||||
self.get_related_shots(folder_path=pre_create_data["shotParent"])
|
||||
)
|
||||
if not shots:
|
||||
# There are no shot folders under the specified folder.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue