mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 05:14:40 +01:00
use correct function
This commit is contained in:
parent
639087937f
commit
723463d44e
1 changed files with 7 additions and 1 deletions
|
|
@ -289,7 +289,13 @@ def open_workfile(
|
|||
workdir=os.path.dirname(filepath)
|
||||
)
|
||||
|
||||
host.open_workfile(filepath)
|
||||
host.open_workfile_with_context(
|
||||
filepath,
|
||||
folder_entity["id"],
|
||||
task_entity["id"],
|
||||
folder_entity,
|
||||
task_entity,
|
||||
)
|
||||
|
||||
emit_event("workfile.open.after", event_data, source="workfiles.tool")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue