Merge pull request #752 from pypeclub/hotfix/tvpaint_update_fix

TVPaint update fix
This commit is contained in:
Milan Kolar 2020-11-26 18:20:35 +01:00 committed by GitHub
commit 61ea8a4f21
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -162,6 +162,9 @@ class LoadImage(pipeline.Loader):
"""
# Create new containers first
context = get_representation_context(representation)
# Change `fname` to new representation
self.fname = self.filepath_from_context(context)
name = container["name"]
namespace = container["namespace"]
new_container = self.load(context, name, namespace, {})