mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 16:57:53 -06:00
Fix #1526 --datadir not working
This commit is contained in:
parent
360dbca52e
commit
237eaa5f6f
2 changed files with 13 additions and 0 deletions
|
@ -1171,6 +1171,12 @@ public:
|
|||
const ConfigDef* def() const override { return &s_def; }
|
||||
t_config_option_keys keys() const override { return s_def.keys(); }
|
||||
|
||||
// Verify whether the opt_key has not been obsoleted or renamed.
|
||||
// Both opt_key and value may be modified by handle_legacy().
|
||||
// If the opt_key is no more valid in this version of Slic3r, opt_key is cleared by handle_legacy().
|
||||
// handle_legacy() is called internally by set_deserialize().
|
||||
void handle_legacy(t_config_option_key &opt_key, std::string &value) const override;
|
||||
|
||||
private:
|
||||
class PrintAndCLIConfigDef : public ConfigDef
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue