mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 05:14:40 +01:00
Merge pull request #2944 from pypeclub/bugfix/scene_inventory_imports
SceneInventory: Fix imports in UI
This commit is contained in:
commit
61b430b3bc
2 changed files with 5 additions and 6 deletions
|
|
@ -115,10 +115,8 @@ def discover_inventory_actions():
|
|||
filtered_actions = []
|
||||
for action in actions:
|
||||
if action is not InventoryAction:
|
||||
print("DISCOVERED", action)
|
||||
filtered_actions.append(action)
|
||||
else:
|
||||
print("GOT SOURCE")
|
||||
|
||||
return filtered_actions
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -4,11 +4,12 @@ from Qt import QtWidgets, QtCore
|
|||
import qtawesome
|
||||
from bson.objectid import ObjectId
|
||||
|
||||
from avalon import io, pipeline
|
||||
from openpype.pipeline import (
|
||||
from avalon import io
|
||||
from openpype.pipeline.load import (
|
||||
discover_loader_plugins,
|
||||
switch_container,
|
||||
get_repres_contexts,
|
||||
loaders_from_repre_context,
|
||||
)
|
||||
|
||||
from .widgets import (
|
||||
|
|
@ -370,7 +371,7 @@ class SwitchAssetDialog(QtWidgets.QDialog):
|
|||
|
||||
loaders = None
|
||||
for repre_context in repre_contexts.values():
|
||||
_loaders = set(pipeline.loaders_from_repre_context(
|
||||
_loaders = set(loaders_from_repre_context(
|
||||
available_loaders, repre_context
|
||||
))
|
||||
if loaders is None:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue