This commit is contained in:
SmashinFries
2023-10-18 13:12:13 -05:00
committed by GitHub
parent 829ae3e3ac
commit d57935f9be
+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