mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
renamed module.py to addon.py in unreal
This commit is contained in:
parent
2bfa9eea44
commit
0212f6fc06
3 changed files with 6 additions and 6 deletions
|
|
@ -1,6 +1,6 @@
|
||||||
from .module import UnrealModule
|
from .addon import UnrealAddon
|
||||||
|
|
||||||
|
|
||||||
__all__ = (
|
__all__ = (
|
||||||
"UnrealModule",
|
"UnrealAddon",
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -5,14 +5,14 @@ from openpype.modules.interfaces import IHostAddon
|
||||||
UNREAL_ROOT_DIR = os.path.dirname(os.path.abspath(__file__))
|
UNREAL_ROOT_DIR = os.path.dirname(os.path.abspath(__file__))
|
||||||
|
|
||||||
|
|
||||||
class UnrealModule(OpenPypeModule, IHostAddon):
|
class UnrealAddon(OpenPypeModule, IHostAddon):
|
||||||
name = "unreal"
|
name = "unreal"
|
||||||
host_name = "unreal"
|
host_name = "unreal"
|
||||||
|
|
||||||
def initialize(self, module_settings):
|
def initialize(self, module_settings):
|
||||||
self.enabled = True
|
self.enabled = True
|
||||||
|
|
||||||
def add_implementation_envs(self, env, app) -> None:
|
def add_implementation_envs(self, env, app):
|
||||||
"""Modify environments to contain all required for implementation."""
|
"""Modify environments to contain all required for implementation."""
|
||||||
# Set OPENPYPE_UNREAL_PLUGIN required for Unreal implementation
|
# Set OPENPYPE_UNREAL_PLUGIN required for Unreal implementation
|
||||||
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
"""Unreal launching and project tools."""
|
"""Unreal launching and project tools."""
|
||||||
import sys
|
|
||||||
import os
|
import os
|
||||||
import platform
|
import platform
|
||||||
import json
|
import json
|
||||||
|
|
@ -9,7 +9,7 @@ import subprocess
|
||||||
import re
|
import re
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
from collections import OrderedDict
|
from collections import OrderedDict
|
||||||
from openpype.api import get_project_settings
|
from openpype.settings import get_project_settings
|
||||||
|
|
||||||
|
|
||||||
def get_engine_versions(env=None):
|
def get_engine_versions(env=None):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue