mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
Fix support for non-unique top group names
This commit is contained in:
parent
8f143e446d
commit
825add6c2c
1 changed files with 1 additions and 1 deletions
|
|
@ -79,7 +79,7 @@ class ValidateModelContent(pyblish.api.InstancePlugin,
|
|||
return [instance.data["instance_node"]]
|
||||
|
||||
# Ensure single top group
|
||||
top_parents = {x.split("|", 2)[1] for x in content_instance}
|
||||
top_parents = {"|" + x.split("|", 2)[1] for x in content_instance}
|
||||
if cls.validate_top_group and len(top_parents) != 1:
|
||||
cls.log.error(
|
||||
"A model instance must have exactly one top group. "
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue