unreal, tv paint and harmony imports

This commit is contained in:
Milan Kolar 2021-04-01 21:48:46 +02:00
parent d70ffbd384
commit bf6940c415
4 changed files with 9 additions and 9 deletions

View file

@ -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")

View file

@ -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)

View file

@ -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))

View file

@ -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