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

github.com/supermerill/SuperSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEnrico Turri <enricoturri@seznam.cz>2020-01-08 13:11:38 +0300
committerEnrico Turri <enricoturri@seznam.cz>2020-01-08 13:11:38 +0300
commitabd432e7a8f91bba876a29c857844c93dab4b762 (patch)
treeec29437d3d067fb57f857849fc5445e69bb5115c /src/slic3r/GUI/AppConfig.cpp
parent5a63b9a6a0e5ead36ec5f8943e211ecf2bd6f513 (diff)
Configurable paths export (fullpath or not) to 3mf and amf
Diffstat (limited to 'src/slic3r/GUI/AppConfig.cpp')
-rw-r--r--src/slic3r/GUI/AppConfig.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/slic3r/GUI/AppConfig.cpp b/src/slic3r/GUI/AppConfig.cpp
index eb0a7fca6..bcd79274f 100644
--- a/src/slic3r/GUI/AppConfig.cpp
+++ b/src/slic3r/GUI/AppConfig.cpp
@@ -61,6 +61,11 @@ void AppConfig::set_defaults()
if (get("preset_update").empty())
set("preset_update", "1");
+#if ENABLE_CONFIGURABLE_PATHS_EXPORT_TO_3MF_AND_AMF
+ if (get("export_sources_full_pathnames").empty())
+ set("export_sources_full_pathnames", "1");
+#endif // ENABLE_CONFIGURABLE_PATHS_EXPORT_TO_3MF_AND_AMF
+
// remove old 'use_legacy_opengl' parameter from this config, if present
if (!get("use_legacy_opengl").empty())
erase("", "use_legacy_opengl");