mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-26 22:02:15 +01:00
replace fname
This commit is contained in:
parent
f8d03955f7
commit
7a3aaa5408
1 changed files with 1 additions and 1 deletions
|
|
@ -98,7 +98,7 @@ class CameraLoader(load.LoaderPlugin):
|
|||
def load(self, context, name=None, namespace=None, data=None):
|
||||
|
||||
# Format file name, Houdini only wants forward slashes
|
||||
file_path = self.fname.replace("\\", "/")
|
||||
file_path = self.filepath_from_context(context).replace("\\", "/")
|
||||
|
||||
# Get the root node
|
||||
obj = hou.node("/obj")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue