mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
Merge branch 'develop' into host-openpype-chasing
This commit is contained in:
commit
785d529b39
10 changed files with 20 additions and 18 deletions
|
|
@ -1,5 +1,5 @@
|
|||
import openpype.hosts.hiero.api as phiero
|
||||
# from pype.hosts.hiero.api import plugin, lib
|
||||
# from openpype.hosts.hiero.api import plugin, lib
|
||||
# reload(lib)
|
||||
# reload(plugin)
|
||||
# reload(phiero)
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
from avalon import io, api
|
||||
import openpype.hosts.hiero.api as phiero
|
||||
# from pype.hosts.hiero.api import plugin, lib
|
||||
# from openpype.hosts.hiero.api import plugin, lib
|
||||
# reload(lib)
|
||||
# reload(plugin)
|
||||
# reload(phiero)
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
# from pype import plugins
|
||||
# from openpype import plugins
|
||||
import os
|
||||
import json
|
||||
import pyblish.api
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ from compiler.ast import flatten
|
|||
from pyblish import api
|
||||
from openpype.hosts.hiero import api as phiero
|
||||
import hiero
|
||||
# from pype.hosts.hiero.api import lib
|
||||
# from openpype.hosts.hiero.api import lib
|
||||
# reload(lib)
|
||||
# reload(phiero)
|
||||
|
||||
|
|
|
|||
|
|
@ -32,7 +32,8 @@ class RenderSetupLoader(api.Loader):
|
|||
def load(self, context, name, namespace, data):
|
||||
"""Load RenderSetup settings."""
|
||||
from avalon.maya.pipeline import containerise
|
||||
# from openpype.maya.api.lib import namespaced
|
||||
|
||||
# from openpype.hosts.maya.api.lib import namespaced
|
||||
|
||||
asset = context['asset']['name']
|
||||
namespace = namespace or lib.unique_namespace(
|
||||
|
|
|
|||
|
|
@ -4,12 +4,12 @@ import six
|
|||
import pyblish.api
|
||||
from avalon import io
|
||||
|
||||
# Copy of constant `pype.modules.ftrack.lib.avalon_sync.CUST_ATTR_AUTO_SYNC`
|
||||
# Copy of constant `openpype.modules.ftrack.lib.avalon_sync.CUST_ATTR_AUTO_SYNC`
|
||||
CUST_ATTR_AUTO_SYNC = "avalon_auto_sync"
|
||||
CUST_ATTR_GROUP = "openpype"
|
||||
|
||||
|
||||
# Copy of `get_pype_attr` from pype.modules.ftrack.lib
|
||||
# Copy of `get_pype_attr` from openpype.modules.ftrack.lib
|
||||
# TODO import from openpype's ftrack module when possible to not break Python 2
|
||||
def get_pype_attr(session, split_hierarchical=True):
|
||||
custom_attributes = []
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ class CredentialsDialog(QtWidgets.QDialog):
|
|||
def __init__(self, parent=None):
|
||||
super(CredentialsDialog, self).__init__(parent)
|
||||
|
||||
self.setWindowTitle("Pype - Ftrack Login")
|
||||
self.setWindowTitle("OpenPype - Ftrack Login")
|
||||
|
||||
self._login_server_thread = None
|
||||
self._is_logged = False
|
||||
|
|
|
|||
|
|
@ -50,7 +50,8 @@ class OpenPypeMongoWidget(QtWidgets.QWidget):
|
|||
|
||||
title = "OpenPype mongo changed"
|
||||
message = (
|
||||
"OpenPype mongo url was successfully changed. Restart Pype please."
|
||||
"OpenPype mongo url was successfully changed."
|
||||
" Restart OpenPype application please."
|
||||
)
|
||||
details = None
|
||||
|
||||
|
|
|
|||
|
|
@ -56,7 +56,7 @@ class LocalSettingsWidget(QtWidgets.QWidget):
|
|||
self.main_layout.addWidget(SpacerWidget(self), 1)
|
||||
|
||||
def _create_pype_mongo_ui(self):
|
||||
pype_mongo_expand_widget = ExpandingWidget("Pype Mongo URL", self)
|
||||
pype_mongo_expand_widget = ExpandingWidget("OpenPype Mongo URL", self)
|
||||
pype_mongo_content = QtWidgets.QWidget(self)
|
||||
pype_mongo_layout = QtWidgets.QVBoxLayout(pype_mongo_content)
|
||||
pype_mongo_layout.setContentsMargins(CHILD_OFFSET, 5, 0, 0)
|
||||
|
|
|
|||
|
|
@ -204,11 +204,11 @@ class PypeInfoWidget(QtWidgets.QWidget):
|
|||
|
||||
icon = QtGui.QIcon(resources.pype_icon_filepath())
|
||||
self.setWindowIcon(icon)
|
||||
self.setWindowTitle("Pype info")
|
||||
self.setWindowTitle("OpenPype info")
|
||||
|
||||
main_layout = QtWidgets.QVBoxLayout(self)
|
||||
main_layout.setAlignment(QtCore.Qt.AlignTop)
|
||||
main_layout.addWidget(self._create_pype_info_widget(), 0)
|
||||
main_layout.addWidget(self._create_openpype_info_widget(), 0)
|
||||
main_layout.addWidget(self._create_separator(), 0)
|
||||
main_layout.addWidget(self._create_workstation_widget(), 0)
|
||||
main_layout.addWidget(self._create_separator(), 0)
|
||||
|
|
@ -347,8 +347,8 @@ class PypeInfoWidget(QtWidgets.QWidget):
|
|||
|
||||
return env_widget
|
||||
|
||||
def _create_pype_info_widget(self):
|
||||
"""Create widget with information about pype application."""
|
||||
def _create_openpype_info_widget(self):
|
||||
"""Create widget with information about OpenPype application."""
|
||||
|
||||
# Get pype info data
|
||||
pype_info = get_pype_info()
|
||||
|
|
@ -360,10 +360,10 @@ class PypeInfoWidget(QtWidgets.QWidget):
|
|||
pype_info["version_value"] = version_value
|
||||
# Prepare lable mapping
|
||||
key_label_mapping = {
|
||||
"version_value": "Pype version:",
|
||||
"executable": "Pype executable:",
|
||||
"pype_root": "Pype location:",
|
||||
"mongo_url": "Pype Mongo URL:"
|
||||
"version_value": "OpenPype version:",
|
||||
"executable": "OpenPype executable:",
|
||||
"pype_root": "OpenPype location:",
|
||||
"mongo_url": "OpenPype Mongo URL:"
|
||||
}
|
||||
# Prepare keys order
|
||||
keys_order = ["version_value", "executable", "pype_root", "mongo_url"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue