mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
Merge pull request #2904 from pypeclub/bugfix/fix_roots_for_different_project
General: Fix use of Anatomy roots
This commit is contained in:
commit
3a35f1a263
1 changed files with 1 additions and 1 deletions
|
|
@ -502,7 +502,7 @@ def get_representation_path_from_context(context):
|
|||
session_project = Session.get("AVALON_PROJECT")
|
||||
if project_doc and project_doc["name"] != session_project:
|
||||
anatomy = Anatomy(project_doc["name"])
|
||||
root = anatomy.roots_obj
|
||||
root = anatomy.roots
|
||||
|
||||
return get_representation_path(representation, root)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue