mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 05:14:40 +01:00
fix imports in look assigner after moving code to openpype repo
This commit is contained in:
parent
aadf253a13
commit
ab9527969b
3 changed files with 4 additions and 8 deletions
|
|
@ -2,9 +2,9 @@ from collections import defaultdict
|
|||
|
||||
from Qt import QtCore
|
||||
|
||||
from avalon.tools import models
|
||||
from avalon.vendor import qtawesome
|
||||
from avalon.style import colors
|
||||
from openpype.tools.utils import models
|
||||
|
||||
|
||||
class AssetModel(models.TreeModel):
|
||||
|
|
|
|||
|
|
@ -10,11 +10,9 @@ import six
|
|||
import alembic.Abc
|
||||
from maya import cmds
|
||||
|
||||
import avalon.io as io
|
||||
import avalon.maya
|
||||
import avalon.api as api
|
||||
from avalon import io, api
|
||||
|
||||
import openpype.hosts.maya.api.lib as lib
|
||||
from openpype.hosts.maya.api import lib
|
||||
|
||||
|
||||
log = logging.getLogger(__name__)
|
||||
|
|
@ -203,7 +201,7 @@ def load_look(version_id):
|
|||
raise RuntimeError("Could not find LookLoader, this is a bug")
|
||||
|
||||
# Reference the look file
|
||||
with avalon.maya.maintained_selection():
|
||||
with lib.maintained_selection():
|
||||
container_node = api.load(loader, look_representation)
|
||||
|
||||
return cmds.sets(container_node, query=True)
|
||||
|
|
|
|||
|
|
@ -16,8 +16,6 @@ from . import views
|
|||
|
||||
from maya import cmds
|
||||
|
||||
MODELINDEX = QtCore.QModelIndex()
|
||||
|
||||
|
||||
class AssetOutliner(QtWidgets.QWidget):
|
||||
refreshed = QtCore.Signal()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue