|
|
|
@ -101,17 +101,17 @@ def down_obj_from_oss(workdir, pid, action): |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if localfile.endswith('.obj'): |
|
|
|
if localfile.endswith('.obj'): |
|
|
|
if isObjFile and os.path.exists(localfile): |
|
|
|
if isObjFile: |
|
|
|
print(f'目录{dirPath}已存在obj文件,跳过') |
|
|
|
print(f'目录{dirPath}已存在obj文件,跳过') |
|
|
|
continue |
|
|
|
continue |
|
|
|
|
|
|
|
|
|
|
|
if localfile.endswith('.jpg'): |
|
|
|
if localfile.endswith('.jpg'): |
|
|
|
if isJpgFile and os.path.exists(localfile): |
|
|
|
if isJpgFile: |
|
|
|
print(f'目录{dirPath}已存在jpg文件,跳过') |
|
|
|
print(f'目录{dirPath}已存在jpg文件,跳过') |
|
|
|
continue |
|
|
|
continue |
|
|
|
|
|
|
|
|
|
|
|
if localfile.endswith('.mtl'): |
|
|
|
if localfile.endswith('.mtl'): |
|
|
|
if isMtlFile and os.path.exists(localfile): |
|
|
|
if isMtlFile: |
|
|
|
print(f'目录{dirPath}已存在mtl文件,跳过') |
|
|
|
print(f'目录{dirPath}已存在mtl文件,跳过') |
|
|
|
continue |
|
|
|
continue |
|
|
|
|
|
|
|
|
|
|
|
|