mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
fix traypublisher editorial
This commit is contained in:
parent
e145b33476
commit
ebfa5a2f3b
2 changed files with 3 additions and 3 deletions
|
|
@ -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"],
|
||||||
|
|
|
||||||
|
|
@ -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):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue