Skip to content

Commit

Permalink
Merge pull request #205 from BigRoy/bugfix/tvpaint_load_reference_ima…
Browse files Browse the repository at this point in the history
…ge_update

TVPaint: Fix Load Reference Image Update logic
  • Loading branch information
iLLiCiTiT authored Mar 20, 2024
2 parents 74916e3 + cbfdfd3 commit 77afb7a
Showing 1 changed file with 1 addition and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
import collections

from ayon_core.lib.attribute_definitions import BoolDef
from ayon_core.pipeline import (
get_representation_context,
registered_host,
)
from ayon_core.pipeline import registered_host
from ayon_core.hosts.tvpaint.api import plugin
from ayon_core.hosts.tvpaint.api.lib import (
get_layers_data,
Expand Down Expand Up @@ -218,10 +215,7 @@ def update(self, container, context):
removed.
"""

repre_entity = context["representation"]
# Create new containers first
context = get_representation_context(repre_entity["id"])

# Get layer ids from previous container
old_layer_names = self.get_members_from_container(container)

Expand Down

0 comments on commit 77afb7a

Please sign in to comment.