Merge pull request #11 from SmashinFries/main

fix: #9
This commit is contained in:
Radionic
2023-10-19 12:34:06 +08:00
committed by GitHub
+1 -1
View File
@@ -239,7 +239,7 @@ def export_gltf(output_dir, bpy_objects, filename, model_type, write_mode, metad
# print(filepath)
if filepath.endswith('.ava.glb'):
new_filepath = filepath.replace('.ava.glb', '.ava')
os.rename(filepath, new_filepath)
os.replace(filepath, new_filepath)
filepath = new_filepath
return filepath