优化
This commit is contained in:
1 parent
46dacc2f7c
commit
2093ff5526
3 files changed
+26
-34
No files matched your search
+2
-2
@@ -6,7 +6,7 @@ if platform.system() == 'Windows':
|
||||
#sys.path.append('libs')
|
||||
else:
|
||||
sys.path.append('/data/deploy/make3d/make2/libs/')
|
||||
import config, libs, libs_db,main_service_db
|
||||
import config, libs, libs_db,main_service_db,common
|
||||
|
||||
def bmesh_copy_from_object(obj, transform=True, triangulate=True, apply_modifiers=False):
|
||||
"""Returns a transformed, triangulated copy of the mesh"""
|
||||
@@ -217,7 +217,7 @@ def step3(pid,task_distributed_id=""):
|
||||
main_service_db.update_task_distributed({"id":task_distributed_id,"status":2,"finished_at":time.strftime("%Y-%m-%d %H:%M:%S", time.localtime())})
|
||||
print("step3 已执行完成")
|
||||
#return
|
||||
|
||||
common.removeFolder(str(pid))
|
||||
def main(pid):
|
||||
if pid == '0':
|
||||
while True:
|
||||
|
||||
Reference in new issue
Block a user