mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
get project name other way
This commit is contained in:
parent
0f45af2d36
commit
47b1daf0f5
1 changed files with 2 additions and 1 deletions
|
|
@ -409,7 +409,7 @@ class LayoutLoader(plugin.Loader):
|
|||
|
||||
return sequence, (min_frame, max_frame)
|
||||
|
||||
def _get_repre_docs_by_version_id(self, project_name, data):
|
||||
def _get_repre_docs_by_version_id(self, data):
|
||||
version_ids = {
|
||||
element.get("version")
|
||||
for element in data
|
||||
|
|
@ -421,6 +421,7 @@ class LayoutLoader(plugin.Loader):
|
|||
if not version_ids:
|
||||
return output
|
||||
|
||||
project_name = legacy_io.active_project()
|
||||
repre_docs = get_representations(
|
||||
project_name,
|
||||
representation_names=["fbx", "abc"],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue