mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
removed silo references
This commit is contained in:
parent
22f1a30710
commit
5e5fc4ec55
12 changed files with 10 additions and 80 deletions
|
|
@ -315,7 +315,7 @@ def get_usd_master_path(asset, subset, representation):
|
|||
)
|
||||
template = project["config"]["template"]["publish"]
|
||||
|
||||
if isinstance(asset, dict) and "silo" in asset and "name" in asset:
|
||||
if isinstance(asset, dict) and "name" in asset:
|
||||
# Allow explicitly passing asset document
|
||||
asset_doc = asset
|
||||
else:
|
||||
|
|
@ -325,7 +325,6 @@ def get_usd_master_path(asset, subset, representation):
|
|||
**{
|
||||
"root": api.registered_root(),
|
||||
"project": api.Session["AVALON_PROJECT"],
|
||||
"silo": asset_doc["silo"],
|
||||
"asset": asset_doc["name"],
|
||||
"subset": subset,
|
||||
"representation": representation,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue