Update openpype/hosts/tvpaint/plugins/load/load_workfile.py

Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
This commit is contained in:
Toke Jepsen 2021-10-06 18:26:06 +02:00 committed by GitHub
parent e080cce192
commit 4442454f9e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -50,9 +50,7 @@ class LoadWorkfile(pipeline.Loader):
"task": context["task"],
"version": 1,
"user": getpass.getuser(),
"root": {
template_key: anatomy.roots[template_key]
},
"root": anatomy.roots,
"hierarchy": openpype.lib.get_hierarchy()
}
template = anatomy.templates[template_key]["file"]