mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-26 05:42:15 +01:00
coverting asset to folderPath
This commit is contained in:
parent
1d07c2f77f
commit
c25161d454
1 changed files with 1 additions and 1 deletions
|
|
@ -58,7 +58,7 @@ class ValidateModelName(pyblish.api.InstancePlugin,
|
|||
reg = re.compile(regex)
|
||||
matched_name = reg.match(name)
|
||||
project_name = instance.context.data["projectName"]
|
||||
current_asset_name = instance.context.data["asset"]
|
||||
current_asset_name = instance.context.data["folderPath"]
|
||||
if matched_name is None:
|
||||
cls.log.error("invalid model name on: {}".format(name))
|
||||
cls.log.error("name doesn't match regex {}".format(regex))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue