mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
replace avalon imports in openpype.lib
This commit is contained in:
parent
c1246f5349
commit
066d6123d6
4 changed files with 87 additions and 89 deletions
|
|
@ -72,9 +72,9 @@ def get_subset_name_with_asset_doc(
|
|||
family = family.rsplit(".", 1)[-1]
|
||||
|
||||
if project_name is None:
|
||||
import avalon.api
|
||||
from openpype.pipeline import legacy_io
|
||||
|
||||
project_name = avalon.api.Session["AVALON_PROJECT"]
|
||||
project_name = legacy_io.Session["AVALON_PROJECT"]
|
||||
|
||||
asset_tasks = asset_doc.get("data", {}).get("tasks") or {}
|
||||
task_info = asset_tasks.get(task_name) or {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue