mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +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__ = (
|
||||
"UnrealModule",
|
||||
"UnrealAddon",
|
||||
)
|
||||
|
|
|
|||
|
|
@ -5,14 +5,14 @@ from openpype.modules.interfaces import IHostAddon
|
|||
UNREAL_ROOT_DIR = os.path.dirname(os.path.abspath(__file__))
|
||||
|
||||
|
||||
class UnrealModule(OpenPypeModule, IHostAddon):
|
||||
class UnrealAddon(OpenPypeModule, IHostAddon):
|
||||
name = "unreal"
|
||||
host_name = "unreal"
|
||||
|
||||
def initialize(self, module_settings):
|
||||
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."""
|
||||
# Set OPENPYPE_UNREAL_PLUGIN required for Unreal implementation
|
||||
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
"""Unreal launching and project tools."""
|
||||
import sys
|
||||
|
||||
import os
|
||||
import platform
|
||||
import json
|
||||
|
|
@ -9,7 +9,7 @@ import subprocess
|
|||
import re
|
||||
from pathlib import Path
|
||||
from collections import OrderedDict
|
||||
from openpype.api import get_project_settings
|
||||
from openpype.settings import get_project_settings
|
||||
|
||||
|
||||
def get_engine_versions(env=None):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue