Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVojtech Bubnik <bubnikv@gmail.com>2021-12-15 15:43:30 +0300
committerVojtech Bubnik <bubnikv@gmail.com>2021-12-15 15:43:37 +0300
commit56d50d7707a0801ee5b193843fc582ef0e6c3033 (patch)
tree116584fee827544ae245b9adaaf5f1faba07f0c5 /src/slic3r/GUI
parentab245a97a47681371b51fc328f85eab200b1b93d (diff)
Delete existing vendors before importing newer vendors, as the existing
vendors may not be referenced by newer PrusaSlicer.ini imported.
Diffstat (limited to 'src/slic3r/GUI')
-rw-r--r--src/slic3r/GUI/GUI_App.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/slic3r/GUI/GUI_App.cpp b/src/slic3r/GUI/GUI_App.cpp
index 66258452a..13f76443c 100644
--- a/src/slic3r/GUI/GUI_App.cpp
+++ b/src/slic3r/GUI/GUI_App.cpp
@@ -1166,7 +1166,7 @@ bool GUI_App::on_init_inner()
preset_bundle->setup_directories();
if (! older_data_dir_path.empty())
- preset_bundle->copy_files(older_data_dir_path);
+ preset_bundle->import_newer_configs(older_data_dir_path);
// Save PrusaSlicer.ini after possibly copying the config from the alternate location and after all the configs from the alternate location were copied.
app_config->set("version", SLIC3R_VERSION);