This commit is contained in:
dongchangxi committed 2025-02-08 10:19:12 +08:00
1 parent 93a3ac67bd
commit a9516b6e25
2 files changed
+19 -2

No files matched your search

+1 -1
View File
@@ -124,7 +124,7 @@ def rander_image_and_check(args):
# 导入模型文件
print(f'{time.strftime("%Y-%m-%d %H:%M:%S", time.localtime())}: import pid: {pid}')
start_import = time.time()
print("===============", os.path.join(args.input, pid, obj_file))
print("===============", os.path.join(args.input, obj_file))
with stdout_redirected(to=os.devnull):
bpy.ops.import_scene.obj(filepath=os.path.join(args.input,obj_file))
print(