mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
hound
This commit is contained in:
parent
f650ecc20e
commit
f96b7dbb19
1 changed files with 4 additions and 4 deletions
|
|
@ -714,10 +714,10 @@ def publish_preview_animation(
|
||||||
endFrame (int): end frame
|
endFrame (int): end frame
|
||||||
review_camera (str): viewport camera for preview render
|
review_camera (str): viewport camera for preview render
|
||||||
"""
|
"""
|
||||||
if start_frame is None:
|
if startFrame is None:
|
||||||
start_frame = int(rt.animationRange.start)
|
startFrame = int(rt.animationRange.start)
|
||||||
if end_frame is None:
|
if endFrame is None:
|
||||||
end_frame = int(rt.animationRange.end)
|
endFrame = int(rt.animationRange.end)
|
||||||
with play_preview_when_done(False):
|
with play_preview_when_done(False):
|
||||||
with viewport_camera(review_camera):
|
with viewport_camera(review_camera):
|
||||||
if int(get_max_version()) < 2024:
|
if int(get_max_version()) < 2024:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue