mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-27 06:12:19 +01:00
OP-2765 - trigger failure when new instance tried to be published by Pyblish
This could happen if artist try to switch between old Pyblish and New Publish
This commit is contained in:
parent
56e2121e30
commit
ec9b4802f4
1 changed files with 4 additions and 0 deletions
|
|
@ -26,6 +26,10 @@ class PreCollectRender(pyblish.api.ContextPlugin):
|
|||
return
|
||||
|
||||
for inst in list_instances():
|
||||
if inst.get("creator_attributes"):
|
||||
raise ValueError("Instance created in New publisher, "
|
||||
"cannot be published in Pyblish")
|
||||
|
||||
if inst["family"] not in self.family_remapping.keys():
|
||||
continue
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue