From 26505b78bc72bcb5c95d30b1f8b2ff1ac8d52a1f Mon Sep 17 00:00:00 2001 From: dongchangxi <458593490@qq.com> Date: Tue, 18 Mar 2025 16:43:44 +0800 Subject: [PATCH] 2 --- blender/gray_resize_model.py | 2 +- blender/resize_model.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/blender/gray_resize_model.py b/blender/gray_resize_model.py index 9d9b039..19b3fe8 100644 --- a/blender/gray_resize_model.py +++ b/blender/gray_resize_model.py @@ -156,7 +156,7 @@ def main(): if os.path.exists(os.path.join(path, f)): os.remove(os.path.join(path, f)) os.rename(os.path.join(path, f'{pid}.obj'), os.path.join(path, f)) - config.oss_bucket.put_object_from_file(f'objs/print/{pid}/{f}', os.path.join(path, f)) + #config.oss_bucket.put_object_from_file(f'objs/print/{pid}/{f}', os.path.join(path, f)) diff --git a/blender/resize_model.py b/blender/resize_model.py index 938f5ed..4898c58 100644 --- a/blender/resize_model.py +++ b/blender/resize_model.py @@ -156,7 +156,7 @@ def main(): if os.path.exists(os.path.join(path, f)): os.remove(os.path.join(path, f)) os.rename(os.path.join(path, f'{pid}.obj'), os.path.join(path, f)) - config.oss_bucket.put_object_from_file(f'objs/print/{pid}/{f}', os.path.join(path, f)) + #config.oss_bucket.put_object_from_file(f'objs/print/{pid}/{f}', os.path.join(path, f))