From c48b9e2e85da68a69aab5862ce8ad6cf57d73651 Mon Sep 17 00:00:00 2001 From: bubnikv Date: Wed, 9 Jan 2019 11:57:59 +0100 Subject: [PATCH] Enable the GUI mode by default on OSX. --- src/slic3r.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/slic3r.cpp b/src/slic3r.cpp index d242df1689..04076d567a 100644 --- a/src/slic3r.cpp +++ b/src/slic3r.cpp @@ -96,6 +96,11 @@ int main(int argc, char **argv) // apply command line options to a more handy CLIConfig CLIConfig cli_config; +#ifdef __APPLE__ + // Enable the GUI mode by default, to support drag & drop. + cli_config.gui.value = true; +#endif /* __APPLE__ */ + cli_config.apply(all_config, true); set_data_dir(cli_config.datadir.value);