From bf6940c415dc51fc708a7b973016970c6f5a3fd4 Mon Sep 17 00:00:00 2001 From: Milan Kolar Date: Thu, 1 Apr 2021 21:48:46 +0200 Subject: [PATCH] unreal, tv paint and harmony imports --- openpype/hosts/harmony/api/__init__.py | 2 +- openpype/hosts/tvpaint/api/__init__.py | 6 +++--- openpype/hosts/unreal/api/__init__.py | 6 +++--- openpype/hosts/unreal/api/plugin.py | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/openpype/hosts/harmony/api/__init__.py b/openpype/hosts/harmony/api/__init__.py index 6ed8c0c7cf..705ccef892 100644 --- a/openpype/hosts/harmony/api/__init__.py +++ b/openpype/hosts/harmony/api/__init__.py @@ -15,7 +15,7 @@ import avalon.api import avalon.tools.sceneinventory -log = logging.getLogger("pype.hosts.harmony") +log = logging.getLogger("openpype.hosts.harmony") HOST_DIR = os.path.dirname(os.path.abspath(openpype.hosts.harmony.__file__)) PLUGINS_DIR = os.path.join(HOST_DIR, "plugins") diff --git a/openpype/hosts/tvpaint/api/__init__.py b/openpype/hosts/tvpaint/api/__init__.py index 2f7cb59b25..068559049b 100644 --- a/openpype/hosts/tvpaint/api/__init__.py +++ b/openpype/hosts/tvpaint/api/__init__.py @@ -8,7 +8,7 @@ import pyblish.api from openpype.hosts import tvpaint -log = logging.getLogger("pype.hosts.tvpaint") +log = logging.getLogger("openpype.hosts.tvpaint") HOST_DIR = os.path.dirname(os.path.abspath(tvpaint.__file__)) PLUGINS_DIR = os.path.join(HOST_DIR, "plugins") @@ -35,7 +35,7 @@ def on_instance_toggle(instance, old_value, new_value): def install(): - log.info("Pype - Installing TVPaint integration") + log.info("OpenPype - Installing TVPaint integration") localization_file = os.path.join(HOST_DIR, "resources", "avalon.loc") register_localization_file(localization_file) @@ -51,7 +51,7 @@ def install(): def uninstall(): - log.info("Pype - Uninstalling TVPaint integration") + log.info("OpenPype - Uninstalling TVPaint integration") pyblish.api.deregister_plugin_path(PUBLISH_PATH) avalon.api.deregister_plugin_path(avalon.api.Loader, LOAD_PATH) avalon.api.deregister_plugin_path(avalon.api.Creator, CREATE_PATH) diff --git a/openpype/hosts/unreal/api/__init__.py b/openpype/hosts/unreal/api/__init__.py index f13a51db93..38469e0ddb 100644 --- a/openpype/hosts/unreal/api/__init__.py +++ b/openpype/hosts/unreal/api/__init__.py @@ -5,7 +5,7 @@ from avalon import api as avalon from pyblish import api as pyblish import openpype.hosts.unreal -logger = logging.getLogger("pype.hosts.unreal") +logger = logging.getLogger("openpype.hosts.unreal") HOST_DIR = os.path.dirname(os.path.abspath(openpype.hosts.unreal.__file__)) PLUGINS_DIR = os.path.join(HOST_DIR, "plugins") @@ -30,9 +30,9 @@ def install(): . ''' print(logo) - print("installing Pype for Unreal ...") + print("installing OpenPype for Unreal ...") print("-=" * 40) - logger.info("installing Pype for Unreal") + logger.info("installing OpenPype for Unreal") pyblish.register_plugin_path(str(PUBLISH_PATH)) avalon.register_plugin_path(avalon.Loader, str(LOAD_PATH)) avalon.register_plugin_path(avalon.Creator, str(CREATE_PATH)) diff --git a/openpype/hosts/unreal/api/plugin.py b/openpype/hosts/unreal/api/plugin.py index 66f1274092..a69b12d6f5 100644 --- a/openpype/hosts/unreal/api/plugin.py +++ b/openpype/hosts/unreal/api/plugin.py @@ -3,10 +3,10 @@ import openpype.api class Creator(openpype.api.Creator): - """This serves as skeleton for future Pype specific functionality""" + """This serves as skeleton for future OpenPype specific functionality""" pass class Loader(api.Loader): - """This serves as skeleton for future Pype specific functionality""" + """This serves as skeleton for future OpenPype specific functionality""" pass