mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
Removed redundant logic which was broken anyway, call to get_representation_context had wrong arguments
Note: Arguments passed to `get_representation_context` were wrong because it also takes `project_name` as argument
This commit is contained in:
parent
11e89c100e
commit
7dc202acc9
1 changed files with 1 additions and 7 deletions
|
|
@ -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,
|
||||
|
|
@ -218,10 +215,7 @@ class LoadImage(plugin.Loader):
|
|||
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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue