mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
fix loader filepath access
This commit is contained in:
parent
553bba8713
commit
9e5720953f
2 changed files with 5 additions and 2 deletions
|
|
@ -27,6 +27,7 @@ class FusionLoadWorkfile(load.LoaderPlugin):
|
|||
# Get needed elements
|
||||
bmd = get_bmd_library()
|
||||
comp = get_current_comp()
|
||||
path = self.filepath_from_context(context)
|
||||
|
||||
# Paste the content of the file into the current comp
|
||||
comp.Paste(bmd.readfile(self.fname))
|
||||
comp.Paste(bmd.readfile(path))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue