mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 08:24:53 +01:00
fixed typos
This commit is contained in:
parent
c89ed35429
commit
2133dfa49c
3 changed files with 6 additions and 5 deletions
|
|
@ -46,7 +46,7 @@ class TextureCopy:
|
|||
return asset
|
||||
|
||||
def _get_destination_path(self, asset, project):
|
||||
project_name = api.Session["AVALON_PROJECT"]
|
||||
project_name = project["name"]
|
||||
hierarchy = ""
|
||||
parents = asset['data']['parents']
|
||||
if parents and len(parents) > 0:
|
||||
|
|
@ -63,8 +63,9 @@ class TextureCopy:
|
|||
"subset": 'Main',
|
||||
"hierarchy": hierarchy
|
||||
}
|
||||
anatomy_filled = Anatomy(project_name).format(template_data)
|
||||
return os.path.normpath(anatomy_filled['texture']['path'])
|
||||
anatomy = Anatomy(project_name)
|
||||
anatomy_filled = anatomy.format(template_data)
|
||||
return anatomy_filled['texture']['path']
|
||||
|
||||
def _get_version(self, path):
|
||||
versions = [0]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue