mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-02 00:44:52 +01:00
better import in fusion
This commit is contained in:
parent
87f4336aca
commit
0bf6be0fc4
1 changed files with 3 additions and 6 deletions
|
|
@ -3,8 +3,8 @@ import sys
|
||||||
import re
|
import re
|
||||||
import contextlib
|
import contextlib
|
||||||
|
|
||||||
from ayon_core.lib import Logger
|
from ayon_core.lib import Logger, BoolDef, UILabelDef
|
||||||
|
from ayon_core.style import load_stylesheet
|
||||||
from ayon_core.pipeline import registered_host
|
from ayon_core.pipeline import registered_host
|
||||||
from ayon_core.pipeline.create import CreateContext
|
from ayon_core.pipeline.create import CreateContext
|
||||||
from ayon_core.pipeline.context_tools import get_current_folder_entity
|
from ayon_core.pipeline.context_tools import get_current_folder_entity
|
||||||
|
|
@ -181,7 +181,6 @@ def validate_comp_prefs(comp=None, force_repair=False):
|
||||||
|
|
||||||
from . import menu
|
from . import menu
|
||||||
from ayon_core.tools.utils import SimplePopup
|
from ayon_core.tools.utils import SimplePopup
|
||||||
from ayon_core.style import load_stylesheet
|
|
||||||
dialog = SimplePopup(parent=menu.menu)
|
dialog = SimplePopup(parent=menu.menu)
|
||||||
dialog.setWindowTitle("Fusion comp has invalid configuration")
|
dialog.setWindowTitle("Fusion comp has invalid configuration")
|
||||||
|
|
||||||
|
|
@ -340,9 +339,7 @@ def prompt_reset_context():
|
||||||
from ayon_core.tools.attribute_defs.dialog import (
|
from ayon_core.tools.attribute_defs.dialog import (
|
||||||
AttributeDefinitionsDialog
|
AttributeDefinitionsDialog
|
||||||
)
|
)
|
||||||
from ayon_core.style import load_stylesheet
|
from qtpy import QtCore
|
||||||
from ayon_core.lib import BoolDef, UILabelDef
|
|
||||||
from qtpy import QtWidgets, QtCore
|
|
||||||
|
|
||||||
definitions = [
|
definitions = [
|
||||||
UILabelDef(
|
UILabelDef(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue