mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-24 15:13:58 -06:00
Don't save shapes directory to the "last_dir"
This commit is contained in:
parent
c7051c9005
commit
232309a879
4 changed files with 11 additions and 3 deletions
|
@ -219,9 +219,7 @@ static void add_default_image(wxImageList* img_list, bool is_system)
|
|||
|
||||
static fs::path get_dir(bool sys_dir)
|
||||
{
|
||||
if (sys_dir)
|
||||
return fs::absolute(fs::path(sys_shapes_dir())).make_preferred();
|
||||
return fs::absolute(fs::path(data_dir()) / "shapes").make_preferred();
|
||||
return fs::absolute(fs::path(sys_dir ? sys_shapes_dir() : custom_shapes_dir())).make_preferred();
|
||||
}
|
||||
|
||||
static std::string get_dir_path(bool sys_dir)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue