Skip to content

Commit 5b730b2

Browse files
authored
Merge pull request #314 from AsoboStudio/313-multi-exporter-export-path-error
Fix export path for objects
2 parents e25fa54 + 677b4c3 commit 5b730b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

addons/io_scene_gltf2_msfs/io/msfs_multi_export.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ def execute(self, context):
222222
export_folder_path = lod_group.folder_path
223223
if export_folder_path == '//\\':
224224
export_folder_path = export_folder_path.rsplit('\\')[0]
225-
exportPath = bpy.path.abspath(exportPath)
225+
export_folder_path = bpy.path.abspath(export_folder_path)
226226
if lod_group.generate_xml:
227227
xml_path = os.path.join(export_folder_path, lod_group.group_name + ".xml")
228228
found_guid = None

0 commit comments

Comments
 (0)