mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 08:24:53 +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
|
import collections
|
||||||
|
|
||||||
from ayon_core.lib.attribute_definitions import BoolDef
|
from ayon_core.lib.attribute_definitions import BoolDef
|
||||||
from ayon_core.pipeline import (
|
from ayon_core.pipeline import registered_host
|
||||||
get_representation_context,
|
|
||||||
registered_host,
|
|
||||||
)
|
|
||||||
from ayon_core.hosts.tvpaint.api import plugin
|
from ayon_core.hosts.tvpaint.api import plugin
|
||||||
from ayon_core.hosts.tvpaint.api.lib import (
|
from ayon_core.hosts.tvpaint.api.lib import (
|
||||||
get_layers_data,
|
get_layers_data,
|
||||||
|
|
@ -218,10 +215,7 @@ class LoadImage(plugin.Loader):
|
||||||
removed.
|
removed.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
repre_entity = context["representation"]
|
|
||||||
# Create new containers first
|
# Create new containers first
|
||||||
context = get_representation_context(repre_entity["id"])
|
|
||||||
|
|
||||||
# Get layer ids from previous container
|
# Get layer ids from previous container
|
||||||
old_layer_names = self.get_members_from_container(container)
|
old_layer_names = self.get_members_from_container(container)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue