Update
This commit is contained in:
parent
e4a576b81d
commit
d5aecad5a2
@ -1,24 +1,19 @@
|
||||
#ALL RIGHTS BELONGS TO UZAY CALISKAN.
|
||||
#PLEASE CHECK THE FULL LICENSE INSIDE PRODUCT FOLDER (Part of the agreement is below)
|
||||
#You will not:
|
||||
#!/usr/bin/env python
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# make any copy of the Product except for archival or backup purposes;
|
||||
#UZAY CALISKAN拥有所有权利。
|
||||
#请查看产品文件夹内的完整许可证(协议的一部分如下)
|
||||
#您不会:
|
||||
|
||||
# circumvent or disable any access control technology, security device, procedure, protocol, or technological protection mechanism that may be included or established in or as part of the Product;
|
||||
|
||||
# hack, reverse engineer, decompile, disassemble, modify or create derivative works of the Product or any part of the Product;
|
||||
|
||||
# publish, sell distribute or otherwise make the Product available to others to use, download or copy;
|
||||
|
||||
#transfer or sub-license the Product or any rights under this Agreement to any third party, whether voluntarily or by operation of law;
|
||||
|
||||
# use the Product for any purpose that may be defamatory, threatening, abusive, harmful or invasive of anyone's privacy, or that may otherwise violate any law or give rise to civil or other liability;
|
||||
|
||||
# misrepresent yourself as the creator or owner of the Property;
|
||||
|
||||
# remove or modify any proprietary notice, symbol or label in or on the Product;
|
||||
|
||||
# directly or indirectly assist, facilitate or encourage any third party to carry on any activity prohibited by this Agreement.
|
||||
# 除存档或备份目的外,不复制产品;
|
||||
# 规避或禁用产品中可能包含或设定的任何访问控制技术、安全设备、程序、协议或技术保护机制;
|
||||
# 对产品或产品的任何部分进行黑客攻击、逆向工程、反编译、分解、修改或创作衍生作品;
|
||||
# 发布、销售、分发或以其他方式使产品可供他人使用、下载或复制;
|
||||
# 将产品或本协议下的任何权利转让或分许给任何第三方,无论是自愿的还是根据法律操作的;
|
||||
# 使用产品进行任何可能是诽谤、威胁、虐待、有害或侵犯他人隐私的目的,或者可能违反任何法律或导致民事或其他责任;
|
||||
# 误代表自己为财产的创造者或所有者;
|
||||
# 移除或修改产品中或产品上的任何专有通知、符号或标签;
|
||||
# 直接或间接地帮助、促进或鼓励任何第三方进行本协议禁止的任何活动。
|
||||
|
||||
import importlib
|
||||
import sys
|
||||
@ -185,14 +180,16 @@ def loadScene(saveFileName):
|
||||
|
||||
def openDNAViewer():
|
||||
|
||||
"""calib_check = f"{ROOT_DIR}/dna_calibration.mod"
|
||||
"""
|
||||
calib_check = f"{ROOT_DIR}/dna_calibration.mod"
|
||||
if not os.path.isfile(calib_check):
|
||||
cmds.confirmDialog(title="ERROR", message="Please download Epic Games Dna Calibration 1.1.0 Version. Version is not matching or files are not found!")
|
||||
raise ValueError("Please download Epic Games Dna Calibration 1.1.0 Version. Version is not matching or files are not found!")
|
||||
cmds.confirmDialog(title="错误", message="请下载 Epic Games Dna Calibration 1.1.0 版本。版本不匹配或文件未找到!")
|
||||
raise ValueError("请下载 Epic Games Dna Calibration 1.1.0 版本。版本不匹配或文件未找到!")
|
||||
calib_check = f"{ROOT_DIR}/data/mh4/additional_assemble_script.py"
|
||||
if os.path.isfile(calib_check):
|
||||
cmds.confirmDialog(title="ERROR", message="Please download Epic Games Dna Calibration 1.1.0 Version. Version is not matching or files are not found!")
|
||||
raise ValueError("Please download Epic Games Dna Calibration 1.1.0 Version. Version is not matching or files are not found!")"""
|
||||
cmds.confirmDialog(title="错误", message="请下载 Epic Games Dna Calibration 1.1.0 版本。版本不匹配或文件未找到!")
|
||||
raise ValueError("请下载 Epic Games Dna Calibration 1.1.0 版本。版本不匹配或文件未找到!")
|
||||
"""
|
||||
metapipe_vcheck = f"{ROOT_DIR}/Metapipe_Free.py"
|
||||
if os.path.isfile(metapipe_vcheck):
|
||||
cmds.confirmDialog(title="ERROR", message="Old Version file found. Please delete Metapipe_Free.py file in your dna_calibration path!")
|
||||
|
@ -1,3 +1,6 @@
|
||||
#!/usr/bin/env python
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
import os
|
||||
import shutil
|
||||
import sys
|
||||
|
@ -1,3 +1,6 @@
|
||||
#!/usr/bin/env python
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
import os
|
||||
import shutil
|
||||
|
||||
@ -18,12 +21,12 @@ def move_files(source_folder, destination_folder):
|
||||
source = os.path.join(source_folder, file_name)
|
||||
destination = os.path.join(destination_folder, file_name)
|
||||
|
||||
if os.path.isfile(source): # Check if the item is a file
|
||||
if os.path.isfile(source): # 检查项是否为文件
|
||||
try:
|
||||
shutil.copy(source, destination)
|
||||
except PermissionError as e:
|
||||
print(f"Permission error: {e}")
|
||||
# Handle the permission error as needed
|
||||
# 根据需要处理权限错误
|
||||
|
||||
def run():
|
||||
if not source_folder == destination_folder:
|
||||
|
Loading…
Reference in New Issue
Block a user