mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 13:24:54 +01:00
Update openpype/plugins/publish/extract_review_slate.py
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
This commit is contained in:
parent
a176228396
commit
bf80eee178
1 changed files with 2 additions and 0 deletions
|
|
@ -138,6 +138,8 @@ class ExtractReviewSlate(openpype.api.Extractor):
|
|||
one_frame_duration = float(1.0) / float(items[0])
|
||||
elif len(items) == 2:
|
||||
one_frame_duration = float(items[1]) / float(items[0])
|
||||
else:
|
||||
one_frame_duration = 0
|
||||
one_frame_duration *= 1000000
|
||||
one_frame_duration = str(int(one_frame_duration)) + "us"
|
||||
self.log.debug(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue