mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 08:24:53 +01:00
Merge pull request #5268 from tokejepsen/bugfix/unreal_no_qt_imports
This commit is contained in:
commit
7a164491f2
1 changed files with 2 additions and 1 deletions
|
|
@ -1,7 +1,6 @@
|
||||||
import os
|
import os
|
||||||
import re
|
import re
|
||||||
from openpype.modules import IHostAddon, OpenPypeModule
|
from openpype.modules import IHostAddon, OpenPypeModule
|
||||||
from openpype.widgets.message_window import Window
|
|
||||||
|
|
||||||
UNREAL_ROOT_DIR = os.path.dirname(os.path.abspath(__file__))
|
UNREAL_ROOT_DIR = os.path.dirname(os.path.abspath(__file__))
|
||||||
|
|
||||||
|
|
@ -21,6 +20,8 @@ class UnrealAddon(OpenPypeModule, IHostAddon):
|
||||||
|
|
||||||
from .lib import get_compatible_integration
|
from .lib import get_compatible_integration
|
||||||
|
|
||||||
|
from openpype.widgets.message_window import Window
|
||||||
|
|
||||||
pattern = re.compile(r'^\d+-\d+$')
|
pattern = re.compile(r'^\d+-\d+$')
|
||||||
|
|
||||||
if not pattern.match(app.name):
|
if not pattern.match(app.name):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue