fix traypublisher editorial

This commit is contained in:
Jakub Trllo 2024-02-20 17:02:42 +01:00
parent e145b33476
commit ebfa5a2f3b
2 changed files with 3 additions and 3 deletions

View file

@ -53,7 +53,7 @@ class OnlineCreator(TrayPublishCreator):
# disable check for existing subset with the same name # disable check for existing subset with the same name
""" """
asset = get_asset_by_name( asset = get_asset_by_name(
self.project_name, instance_data["asset"], fields=["_id"]) self.project_name, instance_data["folderPath"], fields=["_id"])
if get_subset_by_name( if get_subset_by_name(
self.project_name, origin_basename, asset["_id"], self.project_name, origin_basename, asset["_id"],

View file

@ -17,7 +17,7 @@ class CollectShotInstance(pyblish.api.InstancePlugin):
families = ["shot"] families = ["shot"]
SHARED_KEYS = [ SHARED_KEYS = [
"asset", "folderPath",
"fps", "fps",
"handleStart", "handleStart",
"handleEnd", "handleEnd",
@ -132,7 +132,7 @@ class CollectShotInstance(pyblish.api.InstancePlugin):
"sourceIn": _cr_attrs["sourceIn"], "sourceIn": _cr_attrs["sourceIn"],
"sourceOut": _cr_attrs["sourceOut"], "sourceOut": _cr_attrs["sourceOut"],
"workfileFrameStart": workfile_start_frame, "workfileFrameStart": workfile_start_frame,
"asset": _cr_attrs["folderPath"], "folderPath": _cr_attrs["folderPath"],
} }
def _solve_hierarchy_context(self, instance): def _solve_hierarchy_context(self, instance):