🐛 fix padding

This commit is contained in:
Ondrej Samohel 2025-02-13 11:56:36 +01:00
parent a3cb06b79f
commit 71b69c4ded
No known key found for this signature in database
GPG key ID: 02376E18990A97C6

View file

@ -384,7 +384,13 @@ class Sequence(TraitBase):
"""
src_collection = Sequence._get_collection(file_locations)
return len(str(max(src_collection.indexes)))
padding = src_collection.padding
# sometimes Clique doens't get the padding right so
# we need to calculate it manually
if padding == 0:
padding = len(str(max(src_collection.indexes)))
return padding
@staticmethod
def get_frame_list(