mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
getting fps from timeline instead of project
This commit is contained in:
parent
a810dfe78a
commit
a11467883b
1 changed files with 1 additions and 1 deletions
|
|
@ -278,7 +278,7 @@ def create_timeline_item(
|
|||
|
||||
# timing variables
|
||||
if all([timeline_in, source_start, source_end]):
|
||||
fps = project.GetSetting("timelineFrameRate")
|
||||
fps = timeline.GetSetting("timelineFrameRate")
|
||||
duration = source_end - source_start
|
||||
timecode_in = frames_to_timecode(timeline_in, fps)
|
||||
timecode_out = frames_to_timecode(timeline_in + duration, fps)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue