mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 08:24:53 +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):
|
def load(self, context, name=None, namespace=None, data=None):
|
||||||
|
|
||||||
# Format file name, Houdini only wants forward slashes
|
# 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
|
# Get the root node
|
||||||
obj = hou.node("/obj")
|
obj = hou.node("/obj")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue