From fdb1d2c9dec923d3b2862a44ee0519348de4bba9 Mon Sep 17 00:00:00 2001 From: Enrico Turri Date: Mon, 13 Jan 2020 08:47:11 +0100 Subject: [PATCH] Follow - up of abd432e7a8f91bba876a29c857844c93dab4b762->Set default as non fullpath export --- src/slic3r/GUI/AppConfig.cpp | 2 +- src/slic3r/GUI/ConfigWizard.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/slic3r/GUI/AppConfig.cpp b/src/slic3r/GUI/AppConfig.cpp index bcd79274f..d277fc095 100644 --- a/src/slic3r/GUI/AppConfig.cpp +++ b/src/slic3r/GUI/AppConfig.cpp @@ -63,7 +63,7 @@ void AppConfig::set_defaults() #if ENABLE_CONFIGURABLE_PATHS_EXPORT_TO_3MF_AND_AMF if (get("export_sources_full_pathnames").empty()) - set("export_sources_full_pathnames", "1"); + set("export_sources_full_pathnames", "0"); #endif // ENABLE_CONFIGURABLE_PATHS_EXPORT_TO_3MF_AND_AMF // remove old 'use_legacy_opengl' parameter from this config, if present diff --git a/src/slic3r/GUI/ConfigWizard.cpp b/src/slic3r/GUI/ConfigWizard.cpp index 75d170b03..8a4b28d3a 100644 --- a/src/slic3r/GUI/ConfigWizard.cpp +++ b/src/slic3r/GUI/ConfigWizard.cpp @@ -768,7 +768,7 @@ PageUpdate::PageUpdate(ConfigWizard *parent) #if ENABLE_CONFIGURABLE_PATHS_EXPORT_TO_3MF_AND_AMF PageReloadFromDisk::PageReloadFromDisk(ConfigWizard* parent) : ConfigWizardPage(parent, _(L("Reload from disk")), _(L("Reload from disk"))) - , full_pathnames(true) + , full_pathnames(false) { auto* box_pathnames = new wxCheckBox(this, wxID_ANY, _(L("Export full pathnames of models and parts sources into 3mf and amf files"))); box_pathnames->SetValue(wxGetApp().app_config->get("export_sources_full_pathnames") == "1");