feat(nuke): anatomy templates and version data family to render

This commit is contained in:
Jakub Jezek 2020-02-01 00:16:20 +01:00
parent cb6aa0c7be
commit dc497be923
No known key found for this signature in database
GPG key ID: C4B96E101D2A47F3
2 changed files with 2 additions and 2 deletions

View file

@ -1269,7 +1269,7 @@ class ExporterReview:
'ext': self.ext, 'ext': self.ext,
'files': self.file, 'files': self.file,
"stagingDir": self.staging_dir, "stagingDir": self.staging_dir,
"anatomy_template": "publish", "anatomy_template": "render",
"tags": [self.name.replace("_", "-")] + add_tags "tags": [self.name.replace("_", "-")] + add_tags
} }

View file

@ -97,7 +97,7 @@ class CollectNukeWrites(pyblish.api.InstancePlugin):
"frameEnd": last_frame - handle_end, "frameEnd": last_frame - handle_end,
"version": int(instance.data['version']), "version": int(instance.data['version']),
"colorspace": node["colorspace"].value(), "colorspace": node["colorspace"].value(),
"families": [instance.data["family"]], "families": ["render"],
"subset": instance.data["subset"], "subset": instance.data["subset"],
"fps": instance.context.data["fps"] "fps": instance.context.data["fps"]
} }