From 78c41cb13f63f29dfe154afbc94e0f34f7460f74 Mon Sep 17 00:00:00 2001 From: iLLiCiTiT Date: Mon, 1 Feb 2021 14:58:35 +0100 Subject: [PATCH] tvpaint extract sequence convert single frame sequence to single file --- pype/hosts/tvpaint/plugins/publish/extract_sequence.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pype/hosts/tvpaint/plugins/publish/extract_sequence.py b/pype/hosts/tvpaint/plugins/publish/extract_sequence.py index d315777203..eb6bc670bb 100644 --- a/pype/hosts/tvpaint/plugins/publish/extract_sequence.py +++ b/pype/hosts/tvpaint/plugins/publish/extract_sequence.py @@ -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,