mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 12:54:40 +01:00
Merge branch 'feature/909-define-basic-trait-type-using-dataclasses' into feature/911-new-traits-based-integrator
This commit is contained in:
commit
184753a304
1 changed files with 7 additions and 1 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue