mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 21:32:15 +01:00
added warning for gpu caches, no full support yet
This commit is contained in:
parent
e30d14bc4d
commit
133524880e
1 changed files with 12 additions and 2 deletions
|
|
@ -17,6 +17,10 @@ class CollectSetDress(pyblish.api.InstancePlugin):
|
|||
* Compatible loader
|
||||
* Matrix per instance
|
||||
* Namespace
|
||||
|
||||
Note: GPU caches are currently not supported in the pipeline. There is no
|
||||
logic yet which supports the swapping of GPU cache to renderable objects.
|
||||
|
||||
"""
|
||||
|
||||
order = pyblish.api.CollectorOrder + 0.49
|
||||
|
|
@ -39,13 +43,19 @@ class CollectSetDress(pyblish.api.InstancePlugin):
|
|||
if root not in instance_lookup:
|
||||
continue
|
||||
|
||||
# Retrieve all matrix data
|
||||
# Retrieve the hierarchy
|
||||
parent = cmds.listRelatives(root, parent=True, fullPath=True)[0]
|
||||
hierarchy_nodes.append(parent)
|
||||
|
||||
# Temporary warning for GPU cache which are not supported yet
|
||||
loader = container["loader"]
|
||||
if loader == "GpuCacheLoader":
|
||||
self.log.warning("GPU Cache Loader is currently not supported"
|
||||
"in the pipeline, we will export it tho")
|
||||
|
||||
# Gather info for new data entry
|
||||
representation_id = container["representation"]
|
||||
instance_data = {"loader": container["loader"],
|
||||
instance_data = {"loader": loader,
|
||||
"parent": parent,
|
||||
"namespace": container["namespace"]}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue