More windows path handling fixes

This commit is contained in:
luboslenco
2025-11-21 18:44:05 +01:00
parent 8af2e7d325
commit 641aaaf90c
2 changed files with 5 additions and 1 deletions
+4
View File
@@ -43,7 +43,11 @@ import bpy;\
bpy.ops.wm.obj_export(filepath='" +
bpy_folder + string_replace_all(save, "\\", "/") + "',export_triangulated_mesh=True,export_materials=False,check_existing=False)";
/// if arm_windows
let bl: string = "\"" + string_replace_all(config_raw.blender, "/", "\\") + "\"";
/// else
let bl: string = string_replace_all(config_raw.blender, " ", "\\ ");
/// end
iron_sys_command(bl + " \"" + path + "\" -b --python-expr \"" + py + "\"");
import_obj_run(save, replace_existing);
}