mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-26 05:42:15 +01:00
Renamed and updated plugin, added colorbleed.camera
This commit is contained in:
parent
e9aac13039
commit
abbcd30f86
1 changed files with 3 additions and 4 deletions
|
|
@ -7,17 +7,16 @@ import colorbleed.api
|
|||
class ExtractAlembic(colorbleed.api.Extractor):
|
||||
|
||||
order = pyblish.api.ExtractorOrder
|
||||
label = "Extract Pointcache (Alembic)"
|
||||
label = "Extract Alembic"
|
||||
hosts = ["houdini"]
|
||||
families = ["colorbleed.pointcache"]
|
||||
families = ["colorbleed.pointcache", "colorbleed.camera"]
|
||||
|
||||
def process(self, instance):
|
||||
|
||||
ropnode = instance[0]
|
||||
|
||||
# Get the filename from the filename parameter
|
||||
# `.eval()` will make sure all tokens are resolved
|
||||
output = ropnode.parm("filename").eval()
|
||||
output = ropnode.evalParm("filename")
|
||||
staging_dir = os.path.dirname(output)
|
||||
instance.data["stagingDir"] = staging_dir
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue