mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-02 00:44:52 +01:00
Fix file path fetching from context.
This commit is contained in:
parent
8310cfd9cc
commit
d38cf82589
1 changed files with 1 additions and 1 deletions
|
|
@ -27,7 +27,7 @@ class AudioLoader(load.LoaderPlugin):
|
|||
|
||||
start_frame = cmds.playbackOptions(query=True, min=True)
|
||||
sound_node = cmds.sound(
|
||||
file=context["representation"]["data"]["path"], offset=start_frame
|
||||
file=self.filepath_from_context(context), offset=start_frame
|
||||
)
|
||||
cmds.timeControl(
|
||||
mel.eval("$gPlayBackSlider=$gPlayBackSlider"),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue