Fixed bug: File list would be 1 file long if node frame range is 2 frames long.

This commit is contained in:
IGOTGAMES\jesse.d 2022-01-12 17:25:22 -08:00 committed by felix.wang
parent f511538b49
commit 5d9ddca7d0

View file

@ -37,7 +37,7 @@ class CollectFrames(pyblish.api.InstancePlugin):
# Check if frames are bigger than 1 (file collection)
# override the result
if end_frame - start_frame > 1:
if end_frame - start_frame > 0:
result = self.create_file_list(
match, int(start_frame), int(end_frame)
)