mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
set framerange with or without handles based on the current task type
This commit is contained in:
parent
6a01b117fd
commit
9392687b15
1 changed files with 4 additions and 0 deletions
|
|
@ -2140,8 +2140,12 @@ def get_frame_range():
|
|||
|
||||
# Set frame start/end
|
||||
project_name = legacy_io.active_project()
|
||||
task_name = legacy_io.Session["AVALON_TASK"]
|
||||
asset_name = legacy_io.Session["AVALON_ASSET"]
|
||||
asset = get_asset_by_name(project_name, asset_name)
|
||||
settings = get_project_settings(project_name)
|
||||
task_name = legacy_io.Session["AVALON_TASK"]
|
||||
with_handles = settings['maya']['with_handles']["handles_task_types"]
|
||||
|
||||
frame_start = asset["data"].get("frameStart")
|
||||
frame_end = asset["data"].get("frameEnd")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue