🐛 convert generator to list

This commit is contained in:
Ondrej Samohel 2023-10-13 17:39:29 +02:00
parent 8f5a5341e0
commit 94032f0522
No known key found for this signature in database
GPG key ID: 02376E18990A97C6

View file

@ -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.