mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 13:24:54 +01:00
PS - fixed validate_naming repair
This commit is contained in:
parent
514dbfc2af
commit
e414ac8a2d
1 changed files with 4 additions and 0 deletions
|
|
@ -30,6 +30,10 @@ class ValidateNamingRepair(pyblish.api.Action):
|
|||
data["subset"] = "image" + name
|
||||
stub.imprint(instance[0], data)
|
||||
|
||||
name = name.replace(instance.data["family"], '')
|
||||
name = stub.PUBLISH_ICON + name
|
||||
stub.rename_layer(instance.data["uuid"], name)
|
||||
|
||||
return True
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue