|
|
|
|
@ -89,14 +89,14 @@ def down_obj_from_oss(workdir, pid, action):
@@ -89,14 +89,14 @@ def down_obj_from_oss(workdir, pid, action):
|
|
|
|
|
isObjFile = False |
|
|
|
|
isJpgFile = False |
|
|
|
|
isMtlFile = False |
|
|
|
|
for file in os.listdir(dirPath): |
|
|
|
|
if file.endswith('.obj'): |
|
|
|
|
for file1 in os.listdir(dirPath): |
|
|
|
|
if file1.endswith('.obj'): |
|
|
|
|
isObjFile = True |
|
|
|
|
|
|
|
|
|
if file.endswith('.jpg'): |
|
|
|
|
if file1.endswith('.jpg'): |
|
|
|
|
isJpgFile = True |
|
|
|
|
|
|
|
|
|
if file.endswith('.mtl'): |
|
|
|
|
if file1.endswith('.mtl'): |
|
|
|
|
isMtlFile = True |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|