Update Install.py

This commit is contained in:
Jeffreytsai1004 2025-02-06 04:57:44 +08:00
parent 572b48770e
commit fdd0d92035

View File

@ -30,26 +30,8 @@ except ImportError:
QtCore = QtGui = QtWidgets = None
wrapInstance = None
# def get_script_path():
# try:
# maya_script = mel.eval('getenv("MAYA_SCRIPT_PATH")')
# if maya_script:
# paths = maya_script.split(os.pathsep)
# for path in paths:
# install_path = os.path.join(path, "Install.py")
# if os.path.exists(install_path):
# return os.path.dirname(install_path)
# except:
# pass
# try:
# return os.path.dirname(os.path.abspath(__file__))
# except:
# return os.getcwd()
TOOL_PATH = data.TOOL_PATH
#===================================== 3. Utility Functions =====================================
def maya_main_window():
"""获取Maya主窗口"""