From abbcd30f86078664177b84edb57622abe8df7d83 Mon Sep 17 00:00:00 2001 From: wikoreman Date: Wed, 19 Sep 2018 10:42:42 +0200 Subject: [PATCH] Renamed and updated plugin, added colorbleed.camera --- colorbleed/plugins/houdini/publish/extract_alembic.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/colorbleed/plugins/houdini/publish/extract_alembic.py b/colorbleed/plugins/houdini/publish/extract_alembic.py index f66b5bde72..632b0a7d7b 100644 --- a/colorbleed/plugins/houdini/publish/extract_alembic.py +++ b/colorbleed/plugins/houdini/publish/extract_alembic.py @@ -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