🐛 handle single frames

This commit is contained in:
Ondrej Samohel 2022-12-08 16:39:51 +01:00
parent 20400b51c9
commit a209140cd6
No known key found for this signature in database
GPG key ID: 02376E18990A97C6
2 changed files with 3 additions and 10 deletions

View file

@ -100,13 +100,11 @@ class ExtractAssStandin(publish.Extractor):
representation = {
'name': 'ass',
'ext': 'ass',
'files': filenames,
"stagingDir": staging_dir
'files': filenames if len(filenames) > 1 else filenames[0],
"stagingDir": staging_dir,
'frameStart': kwargs["start"]
}
if sequence:
representation['frameStart'] = kwargs["start"]
instance.data["representations"].append(representation)
self.log.info("Extracted instance '%s' to: %s"

View file

@ -218,11 +218,6 @@
"label": "Default Subsets",
"object_type": "text"
},
{
"type": "boolean",
"key": "exportSequence",
"label": "Export Sequence"
},
{
"type": "boolean",
"key": "expandProcedurals",