mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-26 13:52:15 +01:00
#698 - added collect_render
This commit is contained in:
parent
d285b504b1
commit
4beb6d620f
2 changed files with 27 additions and 2 deletions
|
|
@ -16,5 +16,3 @@ class CollectCurrentFile(pyblish.api.ContextPlugin):
|
|||
context.data["currentFile"] = os.path.normpath(
|
||||
aftereffects.stub().get_active_document_full_name()
|
||||
).replace("\\", "/")
|
||||
|
||||
#print(debug_pyblish_plugins_loading.discover())
|
||||
|
|
|
|||
27
pype/plugins/aftereffects/publish/collect_render.py
Normal file
27
pype/plugins/aftereffects/publish/collect_render.py
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
from pype.lib import abstract_collect_render
|
||||
import pyblish.api
|
||||
from abc import ABCMeta
|
||||
import pyblish.api
|
||||
import six
|
||||
|
||||
from avalon import aftereffects
|
||||
|
||||
@six.add_metaclass(ABCMeta)
|
||||
class CollectRender(abstract_collect_render.AbstractCollectRender):
|
||||
|
||||
order = pyblish.api.CollectorOrder + 0.01
|
||||
hosts = ["maya"]
|
||||
label = "Collect Render Layers"
|
||||
sync_workfile_version = False
|
||||
|
||||
def get_instances(self, context):
|
||||
import web_pdb
|
||||
web_pdb.set_trace()
|
||||
print("hello {}".format(context))
|
||||
return aftereffects.stub().get_metadata()
|
||||
|
||||
def get_expected_files(self, render_instance):
|
||||
import web_pdb
|
||||
web_pdb.set_trace()
|
||||
|
||||
return []
|
||||
Loading…
Add table
Add a link
Reference in a new issue