Skip to content

Commit

Permalink
Fixed a regression bug that --datadir was broken
Browse files Browse the repository at this point in the history
fixed #3191
  • Loading branch information
SoftFever committed Dec 27, 2023
1 parent 7ab2fab commit bab1a79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/OrcaSlicer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5355,7 +5355,7 @@ bool CLI::setup(int argc, char **argv)
for (const t_optiondef_map::value_type &optdef : *options)
m_config.option(optdef.first, true);

//set_data_dir(m_config.opt_string("datadir"));
set_data_dir(m_config.opt_string("datadir"));

//FIXME Validating at this stage most likely does not make sense, as the config is not fully initialized yet.
if (!validity.empty()) {
Expand Down

0 comments on commit bab1a79

Please sign in to comment.