Merge pull request #952 from pypeclub/bugfix/3.0_tvpaint_single_frame_sequence

Fix single frame Sequence in TVPaint
This commit is contained in:
Milan Kolar 2021-02-01 18:35:55 +01:00 committed by GitHub
commit a3614d7a91
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -146,6 +146,10 @@ class ExtractSequence(pyblish.api.Extractor):
os.path.basename(filepath)
for filepath in output_files_by_frame.values()
]
# Sequence of one frame
if len(repre_files) == 1:
repre_files = repre_files[0]
new_repre = {
"name": ext,
"ext": ext,