diff --git a/base/sources/ts/import_blend_mesh.ts b/base/sources/ts/import_blend_mesh.ts index 9b1e0e56..6a5e6568 100644 --- a/base/sources/ts/import_blend_mesh.ts +++ b/base/sources/ts/import_blend_mesh.ts @@ -31,14 +31,10 @@ function import_blend_mesh_run(path: string, replace_existing: bool = true) { return; } - let save: string; + let save: string = "tmp.obj"; if (path_is_protected()) { - save = iron_internal_save_path(); + save = iron_internal_save_path() + save; } - else { - save = path_data(); - } - save += "tmp.obj"; ///if arm_windows path = string_replace_all(path, "\\", "\\\\");