Only add frame to context if used by the destination template

This commit is contained in:
Roy Nieterau 2022-04-02 11:28:13 +02:00
parent e37b9f0141
commit 3ec9684239

View file

@ -158,7 +158,7 @@ class IntegrateAssetNew(pyblish.api.InstancePlugin):
exclude_families = ["clip"]
db_representation_context_keys = [
"project", "asset", "task", "subset", "version", "representation",
"family", "hierarchy", "task", "username", "frame"
"family", "hierarchy", "task", "username"
]
default_template_name = "publish"