mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
fix imports
This commit is contained in:
parent
8ca69f512b
commit
54e57facca
27 changed files with 46 additions and 46 deletions
|
|
@ -323,7 +323,7 @@ def show_tools_popup():
|
|||
|
||||
Popup will disappear on click or losing focus.
|
||||
"""
|
||||
from ayon_core.hosts.unreal.api import tools_ui
|
||||
from ayon_unreal.api import tools_ui
|
||||
|
||||
tools_ui.show_tools_popup()
|
||||
|
||||
|
|
@ -333,7 +333,7 @@ def show_tools_dialog():
|
|||
|
||||
Dialog will stay visible.
|
||||
"""
|
||||
from ayon_core.hosts.unreal.api import tools_ui
|
||||
from ayon_unreal.api import tools_ui
|
||||
|
||||
tools_ui.show_tools_dialog()
|
||||
|
||||
|
|
|
|||
|
|
@ -4,8 +4,8 @@ import unreal
|
|||
|
||||
from ayon_core.settings import get_project_settings
|
||||
from ayon_core.pipeline import Anatomy
|
||||
from ayon_core.hosts.unreal.api import pipeline
|
||||
from ayon_core.tools.utils import show_message_dialog
|
||||
from ayon_unreal.api import pipeline
|
||||
|
||||
|
||||
queue = None
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ from ayon_core import (
|
|||
)
|
||||
from ayon_core.tools.utils import host_tools
|
||||
from ayon_core.tools.utils.lib import qt_app_context
|
||||
from ayon_core.hosts.unreal.api import rendering
|
||||
from ayon_unreal.api import rendering
|
||||
|
||||
|
||||
class ToolsBtnsWidget(QtWidgets.QWidget):
|
||||
|
|
|
|||
|
|
@ -15,12 +15,12 @@ from ayon_applications import (
|
|||
LaunchTypes,
|
||||
)
|
||||
from ayon_core.pipeline.workfile import get_workfile_template_key
|
||||
import ayon_core.hosts.unreal.lib as unreal_lib
|
||||
from ayon_core.hosts.unreal.ue_workers import (
|
||||
import ayon_unreal.lib as unreal_lib
|
||||
from ayon_unreal.ue_workers import (
|
||||
UEProjectGenerationWorker,
|
||||
UEPluginInstallWorker
|
||||
)
|
||||
from ayon_core.hosts.unreal.ui import SplashScreen
|
||||
from ayon_unreal.ui import SplashScreen
|
||||
|
||||
|
||||
class UnrealPrelaunchHook(PreLaunchHook):
|
||||
|
|
|
|||
|
|
@ -2,8 +2,8 @@
|
|||
import unreal
|
||||
|
||||
from ayon_core.pipeline import CreatorError
|
||||
from ayon_core.hosts.unreal.api.pipeline import UNREAL_VERSION
|
||||
from ayon_core.hosts.unreal.api.plugin import (
|
||||
from ayon_unreal.api.pipeline import UNREAL_VERSION
|
||||
from ayon_unreal.api.plugin import (
|
||||
UnrealAssetCreator,
|
||||
)
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
from ayon_core.hosts.unreal.api.plugin import (
|
||||
from ayon_unreal.api.plugin import (
|
||||
UnrealActorCreator,
|
||||
)
|
||||
|
||||
|
|
|
|||
|
|
@ -2,10 +2,10 @@
|
|||
import unreal
|
||||
|
||||
from ayon_core.pipeline import CreatorError
|
||||
from ayon_core.hosts.unreal.api.pipeline import (
|
||||
from ayon_unreal.api.pipeline import (
|
||||
create_folder
|
||||
)
|
||||
from ayon_core.hosts.unreal.api.plugin import (
|
||||
from ayon_unreal.api.plugin import (
|
||||
UnrealAssetCreator
|
||||
)
|
||||
from ayon_core.lib import UILabelDef
|
||||
|
|
|
|||
|
|
@ -3,12 +3,12 @@ from pathlib import Path
|
|||
|
||||
import unreal
|
||||
|
||||
from ayon_core.hosts.unreal.api.pipeline import (
|
||||
from ayon_unreal.api.pipeline import (
|
||||
UNREAL_VERSION,
|
||||
create_folder,
|
||||
get_subsequences,
|
||||
)
|
||||
from ayon_core.hosts.unreal.api.plugin import (
|
||||
from ayon_unreal.api.plugin import (
|
||||
UnrealAssetCreator
|
||||
)
|
||||
from ayon_core.lib import (
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
from ayon_core.hosts.unreal.api.plugin import (
|
||||
from ayon_unreal.api.plugin import (
|
||||
UnrealAssetCreator,
|
||||
)
|
||||
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ from pathlib import Path
|
|||
import unreal
|
||||
|
||||
from ayon_core.pipeline import CreatorError
|
||||
from ayon_core.hosts.unreal.api.plugin import (
|
||||
from ayon_unreal.api.plugin import (
|
||||
UnrealAssetCreator,
|
||||
)
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
import unreal
|
||||
|
||||
from ayon_core.hosts.unreal.api.tools_ui import qt_app_context
|
||||
from ayon_core.hosts.unreal.api.pipeline import delete_asset_if_unused
|
||||
from ayon_unreal.api.tools_ui import qt_app_context
|
||||
from ayon_unreal.api.pipeline import delete_asset_if_unused
|
||||
from ayon_core.pipeline import InventoryAction
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
import unreal
|
||||
|
||||
from ayon_core.hosts.unreal.api.pipeline import (
|
||||
from ayon_unreal.api.pipeline import (
|
||||
ls,
|
||||
replace_static_mesh_actors,
|
||||
replace_skeletal_mesh_actors,
|
||||
|
|
|
|||
|
|
@ -6,8 +6,8 @@ from ayon_core.pipeline import (
|
|||
get_representation_path,
|
||||
AYON_CONTAINER_ID
|
||||
)
|
||||
from ayon_core.hosts.unreal.api import plugin
|
||||
from ayon_core.hosts.unreal.api import pipeline as unreal_pipeline
|
||||
from ayon_unreal.api import plugin
|
||||
from ayon_unreal.api import pipeline as unreal_pipeline
|
||||
import unreal # noqa
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -13,8 +13,8 @@ from ayon_core.pipeline import (
|
|||
get_representation_path,
|
||||
AYON_CONTAINER_ID
|
||||
)
|
||||
from ayon_core.hosts.unreal.api import plugin
|
||||
from ayon_core.hosts.unreal.api import pipeline as unreal_pipeline
|
||||
from ayon_unreal.api import plugin
|
||||
from ayon_unreal.api import pipeline as unreal_pipeline
|
||||
|
||||
|
||||
class AnimationFBXLoader(plugin.Loader):
|
||||
|
|
|
|||
|
|
@ -16,8 +16,8 @@ from ayon_core.pipeline import (
|
|||
get_current_project_name,
|
||||
get_representation_path,
|
||||
)
|
||||
from ayon_core.hosts.unreal.api import plugin
|
||||
from ayon_core.hosts.unreal.api.pipeline import (
|
||||
from ayon_unreal.api import plugin
|
||||
from ayon_unreal.api.pipeline import (
|
||||
generate_sequence,
|
||||
set_sequence_hierarchy,
|
||||
create_container,
|
||||
|
|
|
|||
|
|
@ -6,8 +6,8 @@ from ayon_core.pipeline import (
|
|||
get_representation_path,
|
||||
AYON_CONTAINER_ID
|
||||
)
|
||||
from ayon_core.hosts.unreal.api import plugin
|
||||
from ayon_core.hosts.unreal.api.pipeline import (
|
||||
from ayon_unreal.api import plugin
|
||||
from ayon_unreal.api.pipeline import (
|
||||
AYON_ASSET_DIR,
|
||||
create_container,
|
||||
imprint,
|
||||
|
|
|
|||
|
|
@ -27,8 +27,8 @@ from ayon_core.pipeline import (
|
|||
)
|
||||
from ayon_core.pipeline.context_tools import get_current_folder_entity
|
||||
from ayon_core.settings import get_current_project_settings
|
||||
from ayon_core.hosts.unreal.api import plugin
|
||||
from ayon_core.hosts.unreal.api.pipeline import (
|
||||
from ayon_unreal.api import plugin
|
||||
from ayon_unreal.api.pipeline import (
|
||||
generate_sequence,
|
||||
set_sequence_hierarchy,
|
||||
create_container,
|
||||
|
|
|
|||
|
|
@ -12,8 +12,8 @@ from ayon_core.pipeline import (
|
|||
get_representation_path,
|
||||
AYON_CONTAINER_ID,
|
||||
)
|
||||
from ayon_core.hosts.unreal.api import plugin
|
||||
from ayon_core.hosts.unreal.api import pipeline as upipeline
|
||||
from ayon_unreal.api import plugin
|
||||
from ayon_unreal.api import pipeline as upipeline
|
||||
|
||||
|
||||
class ExistingLayoutLoader(plugin.Loader):
|
||||
|
|
|
|||
|
|
@ -6,8 +6,8 @@ from ayon_core.pipeline import (
|
|||
get_representation_path,
|
||||
AYON_CONTAINER_ID
|
||||
)
|
||||
from ayon_core.hosts.unreal.api import plugin
|
||||
from ayon_core.hosts.unreal.api.pipeline import (
|
||||
from ayon_unreal.api import plugin
|
||||
from ayon_unreal.api.pipeline import (
|
||||
AYON_ASSET_DIR,
|
||||
create_container,
|
||||
imprint,
|
||||
|
|
|
|||
|
|
@ -6,8 +6,8 @@ from ayon_core.pipeline import (
|
|||
get_representation_path,
|
||||
AYON_CONTAINER_ID
|
||||
)
|
||||
from ayon_core.hosts.unreal.api import plugin
|
||||
from ayon_core.hosts.unreal.api.pipeline import (
|
||||
from ayon_unreal.api import plugin
|
||||
from ayon_unreal.api.pipeline import (
|
||||
AYON_ASSET_DIR,
|
||||
create_container,
|
||||
imprint,
|
||||
|
|
|
|||
|
|
@ -6,8 +6,8 @@ from ayon_core.pipeline import (
|
|||
get_representation_path,
|
||||
AYON_CONTAINER_ID
|
||||
)
|
||||
from ayon_core.hosts.unreal.api import plugin
|
||||
from ayon_core.hosts.unreal.api.pipeline import (
|
||||
from ayon_unreal.api import plugin
|
||||
from ayon_unreal.api.pipeline import (
|
||||
AYON_ASSET_DIR,
|
||||
create_container,
|
||||
imprint,
|
||||
|
|
|
|||
|
|
@ -6,8 +6,8 @@ from ayon_core.pipeline import (
|
|||
get_representation_path,
|
||||
AYON_CONTAINER_ID
|
||||
)
|
||||
from ayon_core.hosts.unreal.api import plugin
|
||||
from ayon_core.hosts.unreal.api.pipeline import (
|
||||
from ayon_unreal.api import plugin
|
||||
from ayon_unreal.api.pipeline import (
|
||||
AYON_ASSET_DIR,
|
||||
create_container,
|
||||
imprint,
|
||||
|
|
|
|||
|
|
@ -7,8 +7,8 @@ from ayon_core.pipeline import (
|
|||
get_representation_path,
|
||||
AYON_CONTAINER_ID
|
||||
)
|
||||
from ayon_core.hosts.unreal.api import plugin
|
||||
from ayon_core.hosts.unreal.api import pipeline as unreal_pipeline
|
||||
from ayon_unreal.api import plugin
|
||||
from ayon_unreal.api import pipeline as unreal_pipeline
|
||||
import unreal # noqa
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -7,8 +7,8 @@ from ayon_core.pipeline import (
|
|||
get_representation_path,
|
||||
AYON_CONTAINER_ID
|
||||
)
|
||||
from ayon_core.hosts.unreal.api import plugin
|
||||
from ayon_core.hosts.unreal.api import pipeline as unreal_pipeline
|
||||
from ayon_unreal.api import plugin
|
||||
from ayon_unreal.api import pipeline as unreal_pipeline
|
||||
import unreal # noqa
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ import pyblish.api
|
|||
|
||||
from ayon_core.pipeline import get_current_project_name
|
||||
from ayon_core.pipeline import Anatomy
|
||||
from ayon_core.hosts.unreal.api import pipeline
|
||||
from ayon_unreal.api import pipeline
|
||||
|
||||
|
||||
class CollectRenderInstances(pyblish.api.InstancePlugin):
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ import os
|
|||
import unreal
|
||||
|
||||
from ayon_core.pipeline import publish
|
||||
from ayon_core.hosts.unreal.api.pipeline import UNREAL_VERSION
|
||||
from ayon_unreal.api.pipeline import UNREAL_VERSION
|
||||
|
||||
|
||||
class ExtractCamera(publish.Extractor):
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ from typing import List, Union
|
|||
|
||||
from qtpy import QtCore
|
||||
|
||||
import ayon_core.hosts.unreal.lib as ue_lib
|
||||
import ayon_unreal.lib as ue_lib
|
||||
from ayon_core.settings import get_project_settings
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue