mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 16:57:53 -06:00
Extended the Config Wizard to offer a selection of config bundles
bundled with Slic3r installation, and install it into user's Slic3r profile. These bundled config bundles will be contained in the Slic3r source tree under Slic3r/resources/profiles. Breaking change! The Slic3r user directory has been renamed to Slic3rPE for the Prusa Edition. Also it is likely, that the Slic3rPE directory will be reorganized before the final 1.38 release to reserve space for temporary profiles downloaded from the Internet.
This commit is contained in:
parent
9a80ff57b2
commit
657f2734f1
7 changed files with 125 additions and 30 deletions
|
@ -89,6 +89,18 @@ std::string var(const std::string &file_name)
|
|||
return file.string();
|
||||
}
|
||||
|
||||
static std::string g_resources_dir;
|
||||
|
||||
void set_resources_dir(const std::string &dir)
|
||||
{
|
||||
g_resources_dir = dir;
|
||||
}
|
||||
|
||||
const std::string& resources_dir()
|
||||
{
|
||||
return g_resources_dir;
|
||||
}
|
||||
|
||||
static std::string g_data_dir;
|
||||
|
||||
void set_data_dir(const std::string &dir)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue