mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
fix tvpaint load plugin
This commit is contained in:
parent
19b350686b
commit
d919e1bb4d
1 changed files with 2 additions and 2 deletions
|
|
@ -3,7 +3,7 @@ import collections
|
|||
from ayon_core.lib.attribute_definitions import BoolDef
|
||||
from ayon_core.pipeline import (
|
||||
get_representation_context,
|
||||
register_host,
|
||||
registered_host,
|
||||
)
|
||||
from ayon_core.hosts.tvpaint.api import plugin
|
||||
from ayon_core.hosts.tvpaint.api.lib import (
|
||||
|
|
@ -176,7 +176,7 @@ class LoadImage(plugin.Loader):
|
|||
return
|
||||
representation = container["representation"]
|
||||
members = self.get_members_from_container(container)
|
||||
host = register_host()
|
||||
host = registered_host()
|
||||
current_containers = host.get_containers()
|
||||
pop_idx = None
|
||||
for idx, cur_con in enumerate(current_containers):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue