mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
slate frame exception - in case it already exists
This commit is contained in:
parent
51875f592e
commit
4289997553
1 changed files with 6 additions and 0 deletions
|
|
@ -588,6 +588,12 @@ class ExporterReview(object):
|
|||
# get first and last frame
|
||||
self.first_frame = min(self.collection.indexes)
|
||||
self.last_frame = max(self.collection.indexes)
|
||||
|
||||
# make sure slate frame is not included
|
||||
frame_start_handle = self.instance.data["frameStartHandle"]
|
||||
if frame_start_handle > self.first_frame:
|
||||
self.first_frame = frame_start_handle
|
||||
|
||||
else:
|
||||
self.fname = os.path.basename(self.path_in)
|
||||
self.fhead = os.path.splitext(self.fname)[0] + "."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue