fix the break of file sequence collection in review when the subset name with the version string

This commit is contained in:
Kayla Man 2022-08-17 18:53:48 +08:00
parent 3226eb5e8f
commit 7576f3824e

View file

@ -138,9 +138,10 @@ class ExtractPlayblast(openpype.api.Extractor):
self.log.debug("playblast path {}".format(path))
collected_files = os.listdir(stagingdir)
pattern_frame = [r'\.(?P<index>(?P<padding>0*)\d+)\.\D+\d?$']
collections, remainder = clique.assemble(collected_files,
minimum_items=1,
patterns=[r'\.(?P<index>(?P<padding>0*)\d+)\.\D+\d?$'])
patterns=pattern_frame)
self.log.debug("filename {}".format(filename))
frame_collection = None