mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 12:54:40 +01:00
Fix undeclared variable
This commit is contained in:
parent
80fabae528
commit
b79bfec5d0
1 changed files with 2 additions and 0 deletions
|
|
@ -254,6 +254,8 @@ class AnimationFBXLoader(plugin.Loader):
|
|||
path = self.filepath_from_context(context)
|
||||
libpath = path.replace(".fbx", ".json")
|
||||
|
||||
master_level = None
|
||||
|
||||
# check if json file exists.
|
||||
if os.path.exists(libpath):
|
||||
ar = unreal.AssetRegistryHelpers.get_asset_registry()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue